diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |