From a323216a1978273ecf0c1cc5cd248333034a31ff Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 21 Mar 2014 15:46:33 -0400 Subject: [PATCH] Adding mappings for up and down to move by a chunk of text in either direction instead of mirroring up/down without --- vim/config/keyboard.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 905aa83..05f9505 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -26,6 +26,8 @@ " | (N) -> remove whitespace " | (N) -> paste and replace the current word " | (V) -> paste and replace the selection +" | (A) -> move up a chunk of text +" | (A) -> move down a chunk of text " " (neocomplcache) " | (I) -> write the part common to all suggestions @@ -89,6 +91,10 @@ "map shift-p to paste and replace the current word or selection nnoremap "_diwP vnoremap "_d"0P + + "map ctrl-up and ctrl-down to moving up/down by a block of text + map + map "}}} "PLUGIN KEYBINDINGS {{{