aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-04-02 17:36:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-04-02 17:36:16 +1200
commit4d8c093ee2d97568fbdd5b9f2c03017e83aced7e (patch)
treeaf49411e96d48e96e6f970611a8619ba38f9a92e
parent3abbd26593748f465f653a14d90d96ffdabf88bc (diff)
downloaddotfiles-4d8c093ee2d97568fbdd5b9f2c03017e83aced7e.tar.gz
dotfiles-4d8c093ee2d97568fbdd5b9f2c03017e83aced7e.zip
Rebind Space in Vim normal mode to scroll
I never use its normal function.
-rw-r--r--vim/config/scroll.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/config/scroll.vim b/vim/config/scroll.vim
index 62bc4ee8..73c3dcec 100644
--- a/vim/config/scroll.vim
+++ b/vim/config/scroll.vim
@@ -3,3 +3,6 @@
" particular reason, just suits me better
set scrolloff=0
set sidescrolloff=16
+
+" Rebind <Space> in normal mode as a lazy scroll
+nnoremap <Space> <C-f>