From f2de4c3a3367f4f1dbcd2a99a5210f2de48988a4 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 24 Mar 2014 17:58:31 -0400 Subject: [PATCH] Reduced the scrolloff rows/cols from 3 to 1, and added a setting to make holding while using the scrollwheel on a mouse change from scrolling up/down to scrolling left/right --- vim/config/keyboard.vim | 10 ++++++++-- vim/config/settings.vim | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 6eaf819..e522cc6 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -3,7 +3,7 @@ "===========================" " " Reference: (view plugin documentation for the full list of commands each offers) -" , | (A) -> follows an emme term to expand it (ie: 'html:5') +" , | (A) -> enter this following an emme 'word' (ie: html:5) " | (N) -> toggle hexhighlight's hexcode to colours in :gui " cs'" | (N) -> change surrounding '' to "" (any delimiters work) " cs" | (N) -> change surrounding "" to the tag: @@ -11,6 +11,8 @@ " ds" | (N) -> delete surrounding "" " " Mappings: +" | (A) -> scroll right +" | (A) -> scroll left " | (A) -> unbind this from vim so xorg can paste " | (A) -> go to the next open tab "

| (A) -> go to the previous open tab @@ -58,10 +60,14 @@ " "MAPPINGS: GENERAL KEYBINDINGS AND REBINDINGS {{{ - "map shift to enable middle-click paste while being held + "hold shift to enable middle-click paste noremap noremap! + "hold ctrl to scroll left/right instead of up/down + noremap 3zl + noremap 3zh + "tab and untabbing selected blocks vnoremap >gv vnoremap -,trail:- "display whitespace set nowrap "disable line wrapping