From 9f5905f38f1d2c5af1b2705bf6d057cc6c79967b Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 21 Mar 2014 16:17:15 -0400 Subject: [PATCH] Mapped shift left/right to movement to the start and end of the text on the line --- vim/config/keyboard.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 05f9505..098c585 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -28,6 +28,8 @@ " | (V) -> paste and replace the selection " | (A) -> move up a chunk of text " | (A) -> move down a chunk of text +" | (N) -> move to the start of the text +" | (N) -> move to the end of the line " " (neocomplcache) " | (I) -> write the part common to all suggestions @@ -92,9 +94,13 @@ nnoremap "_diwP vnoremap "_d"0P - "map ctrl-up and ctrl-down to moving up/down by a block of text + "map ctrl-up/down to moving up/down by a block of text map map + + "map shift-left/right to move to the start/end of the line's text + nmap ^ + nmap $ "}}} "PLUGIN KEYBINDINGS {{{