From 1b1d82b4a17f183e6d2bda1a642f4453d96f18aa Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sat, 31 Jan 2015 02:11:53 -0500 Subject: [PATCH] Set A-MouseWheel the same as C-MouseWheel because the latter fails after a paste --- vim/config/keyboard.vim | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index f6d6302..9a96dce 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -50,10 +50,10 @@ " " Mappings: " (mouse) -" | (A) -> scroll right quickly -" | (A) -> scroll left quickly -" | (A) -> scroll right slowly -" | (A) -> scroll left slowly +" | (A) -> scroll right +" | (A) -> scroll right +" | (A) -> scroll left +" | (A) -> scroll left " " | (A) -> selects from the cursor " | (A) -> selects from the cursor @@ -361,30 +361,31 @@ "MAPPINGS: GENERAL KEYBINDINGS AND REBINDINGS {{{ "MOUSE:{ "hold ctrl to scroll left/right instead of up/down + noremap 4zl nnoremap 4zl xnoremap 4zl snoremap 4zl vnoremap 4zl inoremap 4zl + noremap 4zl + nnoremap 4zl + xnoremap 4zl + snoremap 4zl + vnoremap 4zl + inoremap 4zl + noremap 4zh nnoremap 4zh xnoremap 4zh snoremap 4zh vnoremap 4zh inoremap 4zh - - "hold alt to scroll left/right more precisely - nnoremap zl - xnoremap zl - snoremap zl - vnoremap zl - inoremap zl - - nnoremap zh - xnoremap zh - snoremap zh - vnoremap zh - inoremap zh + noremap 4zh + nnoremap 4zh + xnoremap 4zh + snoremap 4zh + vnoremap 4zh + inoremap 4zh "middle & ctrl+left = select from cursor nnoremap