aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:13:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:13:29 +1200
commitff0386dd62b8affc52ae5297405dc922b1ee6fdc (patch)
tree99e9e291711de7b47b4ef76351c026943437f942
parentUse <Bslash> not \ for maps (diff)
downloaddotfiles-ff0386dd62b8affc52ae5297405dc922b1ee6fdc.tar.gz
dotfiles-ff0386dd62b8affc52ae5297405dc922b1ee6fdc.zip
Prefer "remap" to "rebind"
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 1225e2fa..feeba6e9 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -164,13 +164,13 @@ if has('windows')
endif
endif
-" Rebind normal/visual <Space> to scroll down a page
+" Remap normal/visual <Space> to scroll down a page
nnoremap <Space> <C-F>
if v:version >= 700
xnoremap <Space> <C-F>
endif
-" Rebind normal/visual & to preserve substitution flags
+" Remap normal/visual & to preserve substitution flags
nnoremap <silent> & :<C-U>&&<CR>
if v:version >= 700
xnoremap <silent> & :&&<CR>