From 4f5f7cd939d761ff685bb4d1917df90fa463f6d1 Mon Sep 17 00:00:00 2001 From: Tobias Sachs Date: Mon, 7 Nov 2022 10:14:15 +0100 Subject: [PATCH] apply vs studio mappings from work pc --- stow/vsvim/_vsvimrc | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/stow/vsvim/_vsvimrc b/stow/vsvim/_vsvimrc index e6fbac9..7123169 100644 --- a/stow/vsvim/_vsvimrc +++ b/stow/vsvim/_vsvimrc @@ -29,12 +29,10 @@ noremap v "*p vnoremap v "*p "move lines up/down visually selected -nnoremap :m .-2== -inoremap :m .-2==gi -vnoremap :m '<-2gv=gv -inoremap :m .+1==gi -nnoremap :m .+1== -vnoremap :m '>+1gv=gv +nnoremap ddp +nnoremap dd-P +vnoremap dpV'] +vnoremap d-PV'] nnoremap >> vnoremap :>gv @@ -49,21 +47,28 @@ noremap p [cz. nmap :vsc Edit.GoToDefinition -nmap gd :vsc Edit.GoToDefinition -nmap gi :vsc Edit.GoToImplementation -nmap gf :vsc Edit.FindAllReferences -nmap dj :vsc Edit.GoToNextLocation -nmap dk :vsc Edit.GoToPrevLocation +nmap d :vsc Edit.GoToDefinition +nmap i :vsc Edit.GoToImplementation +nmap f :vsc Edit.FindAllReferences +nmap lj :vsc Edit.GoToNextLocation +nmap lk :vsc Edit.GoToPrevLocation nmap e :vsc View.ErrorList +namp fd :vsc Edit.FormatDocument + nmap :vsc View.NavigateBackward nmap :vsc View.NavigateForward -nmap br :vsc Debug.Start -nmap bf :vsc Debug.Restart -nmap bs :vsc Build.BuildSolution +nmap r :vsc Debug.Start +nmap f :vsc Debug.Restart +nmap s :vsc Build.BuildSolution nmap j :vsc Window.NextTab nmap k :vsc Window.PreviousTab +nmap 0 :vsc Debug.StepOver +nmap - :vsc Debug.StepInto +nmap + :vsc Debug.StepOut +nmap 9 :vsc Debug.ToggleBreakpoint + set scrolloff=8 -- 2.39.2