From 1cf8247e025b27f72bec4fde73460528ac20bcdb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 8 Jul 2018 16:07:03 +1200 Subject: Separate and maps --- vim/vimrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index f8d5a80e..9485921a 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -180,12 +180,15 @@ imap InsertCancel nnoremap FixedJoin mzJ`z nmap J FixedJoin -" Remap normal/visual to scroll down a page, and to scroll -" back up +" Remap normal/visual to scroll down a page nnoremap -nnoremap if v:version >= 700 xnoremap +endif + +" Remap normal/visual to scroll up a page +nnoremap +if v:version >= 700 xnoremap endif -- cgit v1.2.3