From 56ae3e66ec552d79ad7e86d664b3b6f4b6a94896 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 27 Jul 2018 22:42:07 +1200 Subject: Try an expanded mapping for If at the end of the file, change to the next file in the argument list. --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index db2d0714..e80b2207 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -184,6 +184,9 @@ imap (DigraphSearch) " Remap normal space to scroll down a page nnoremap +if v:version > 700 + nnoremap line('.') == line('$') ? ':next' : '' +else " Map g: as a 'colon operator' nmap g: (ColonOperator) -- cgit v1.2.3