diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index faa709c..53f745a 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -43,12 +43,20 @@ " " Mappings: " (mouse) +" | (N) -> select the current line in normal mode +" | (I) -> select the current line in input mode +" " | (A) -> scroll right a few characters at a time " | (A) -> scroll left a few characters at a time +" " | (A) -> scroll right one character at a time " | (A) -> scroll left one character at a time " | (A) -> unbind this from vim so xorg can paste " +" | (N) -> select the current paragraph in normal mode +" | (V) -> select the current paragraph in visual mode +" | (I) -> select the current paragraph in input mode +" " (tabs) " 9 | (A) -> go to the next open tab " 0 | (A) -> go to the previous open tab @@ -147,13 +155,6 @@ " | (V) -> select a few lines right " | (V) -> select a few lines left " -" | (N) -> select the current line in normal mode -" | (I) -> select the current line in input mode -" -" | (N) -> select the current paragraph in normal mode -" | (V) -> select the current paragraph in visual mode -" | (I) -> select the current paragraph in input mode -" " (paste functions) " p | (N) -> view the paste buffers and register contents " p | (N) -> paste in the direction entered @@ -261,6 +262,15 @@ noremap zh inoremap zl inoremap zh + + "hold ctrl while clicking to select the current line + nnoremap V + inoremap V + + "hold alt while clicking to select the current paragraph + nnoremap vip + xnoremap vip + inoremap vip "} "TABS:{ @@ -458,13 +468,6 @@ xnoremap G$ xnoremap $ xnoremap ^ - - nnoremap V - inoremap V - - nnoremap vip - xnoremap vip - inoremap vip "} "PASTE:{