diff options
Diffstat (limited to 'vim')
m--------- | vim/bundle/strip_trailing_whitespace | 0 | ||||
-rw-r--r-- | vim/vimrc | 5 |
2 files changed, 4 insertions, 1 deletions
diff --git a/vim/bundle/strip_trailing_whitespace b/vim/bundle/strip_trailing_whitespace -Subproject e689a60912a1832f167bdc88cf08cbba2a9ae7e +Subproject 3ecc30fe80b32003414d2647efb17e89c27c6aa @@ -314,7 +314,10 @@ nnoremap <Bslash>V :<C-U>let b: t: w:<CR> " \w toggles wrapping nnoremap <Bslash>w :<C-U>setlocal wrap! wrap?<CR> " \x strips trailing whitespace via a custom plugin -nmap <Bslash>x <Plug>(StripTrailingWhitespace) +nmap <Bslash>x :<C-U>StripTrailingWhitespace<CR> +if v:version >= 700 + xmap <Bslash>x :StripTrailingWhitespace<CR> +endif " \y shows all registers nnoremap <Bslash>y :<C-U>registers<CR> " \z sets NZ English spelling (compare \u) |