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