From 194e3100bd6e44e4871cf08650f845e3816bc017 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 18 Apr 2014 10:16:32 -0700 Subject: [PATCH] [vim] Don't map to % --- vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index d3cce03..1c09f09 100644 --- a/vimrc +++ b/vimrc @@ -162,8 +162,8 @@ inoremap kj nnoremap ; : " tab to skip between braces and such in normal -nnoremap % -vnoremap % +"nnoremap % +"vnoremap % " use PCREs for searches nnoremap / /\v @@ -300,7 +300,7 @@ if has('autocmd') augroup StripTrailingWhitespace autocmd! autocmd FileType python call strip_trailing_whitespace() - autocmd FileType c,cpp,objc call strip_trailing_whitespace() + autocmd FileType c,cpp,objc,objcpp call strip_trailing_whitespace() autocmd FileType html,css call strip_trailing_whitespace() augroup END