From 956be8f5c8afdfccdb919ae40467153f7159a356 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 8 Jun 2022 13:51:27 -0400 Subject: [PATCH] Also do horizontal scrolling with the shift key (to match what I recently learned is a lot of other programs) --- vim/config/keyboard.vim | 62 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 2558231..d8007dc 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -32,8 +32,10 @@ " (mouse) " | (A) -> scroll right " | (A) -> scroll right +" | (A) -> scroll right " | (A) -> scroll left " | (A) -> scroll left +" | (A) -> scroll left " " | (A) -> selects from the cursor " | (A) -> selects from the cursor @@ -352,6 +354,36 @@ inoremap 4zl inoremap 4zl + noremap 4zl + noremap 4zl + noremap 4zl + noremap 4zl + + nnoremap 4zl + nnoremap 4zl + nnoremap 4zl + nnoremap 4zl + + xnoremap 4zl + xnoremap 4zl + xnoremap 4zl + xnoremap 4zl + + snoremap 4zl + snoremap 4zl + snoremap 4zl + snoremap 4zl + + vnoremap 4zl + vnoremap 4zl + vnoremap 4zl + vnoremap 4zl + + inoremap 4zl + inoremap 4zl + inoremap 4zl + inoremap 4zl + noremap 4zh noremap 4zh noremap 4zh @@ -412,6 +444,36 @@ inoremap 4zh inoremap 4zh + noremap 4zh + noremap 4zh + noremap 4zh + noremap 4zh + + nnoremap 4zh + nnoremap 4zh + nnoremap 4zh + nnoremap 4zh + + xnoremap 4zh + xnoremap 4zh + xnoremap 4zh + xnoremap 4zh + + snoremap 4zh + snoremap 4zh + snoremap 4zh + snoremap 4zh + + vnoremap 4zh + vnoremap 4zh + vnoremap 4zh + vnoremap 4zh + + inoremap 4zh + inoremap 4zh + inoremap 4zh + inoremap 4zh + "middle & ctrl+left = select from cursor nnoremap xnoremap