From 30e5dff895aab1b7ee3da02136f57a3a42cda7aa Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 31 Jul 2014 01:05:43 -0400 Subject: [PATCH] Use mapcheck before unmapping --- vim/config/vimpager.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/config/vimpager.vim b/vim/config/vimpager.vim index 919d533..0419ab6 100644 --- a/vim/config/vimpager.vim +++ b/vim/config/vimpager.vim @@ -12,10 +12,10 @@ " Undo unwanted less.vim keymappings unmap v unmap w -unmap -unmap -unmap -unmap +if mapcheck('', 'b')|unmap |endif +if mapcheck('', 'b')|unmap |endif +if mapcheck('', 'b')|unmap |endif +if mapcheck('', 'b')|unmap |endif " Main Settings: set nocursorline nocursorcolumn "disable cursor column/line highlighting