aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 2a79f05..7f7ce1d 100644
--- a/vimrc
+++ b/vimrc
@@ -169,6 +169,10 @@
" buffer (obviously in retrospect). Here, use BufReadPre to set the
" buffer variable for all buffers that get opened.
"
+" 2014.05.29:
+" * Add <leader>sb to set scrollbinding so I can quickly set two windows
+" to scroll together
+"
" Pathogen
@@ -453,6 +457,9 @@ nnoremap <leader>tn :tabnew<cr>
nnoremap ]q :cnext<cr>
nnoremap [q :cprevious<cr>
+" Set scrollbind on a window
+nnoremap <leader>sb :setlocal scrollbind!<cr>
+
" Commands