From 84418af6963bb6ee888bd3ba54c91bed6f881dc8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 8 Jul 2018 03:19:18 +1200 Subject: Map normal in Vim to Ctrl+B That is, make it the opposite of Space, which seems eminently sensible. --- vim/vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 300fc3a5..0885fd98 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -177,10 +177,13 @@ imap InsertCancel nnoremap FixedJoin mzJ`z nmap J FixedJoin -" Remap normal/visual to scroll down a page +" Remap normal/visual to scroll down a page, and to scroll +" back up nnoremap +nnoremap if v:version >= 700 xnoremap + xnoremap endif " Remap normal/visual & to preserve substitution flags -- cgit v1.2.3