diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-22 20:14:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-22 20:14:42 +1200 |
commit | e651040b48808842355ed142835ad524a3cdbb44 (patch) | |
tree | f98320ae7624ca9a5db4824fb074f8d8b07329fc /vim/vimrc | |
parent | Add some folding settings (diff) | |
download | dotfiles-e651040b48808842355ed142835ad524a3cdbb44.tar.gz dotfiles-e651040b48808842355ed142835ad524a3cdbb44.zip |
Remove range-stripping from \x mapping
This way I can use a numeric prefix if I want to.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -277,7 +277,7 @@ 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 :<C-U>StripTrailingWhitespace<CR> +nmap <Bslash>x :StripTrailingWhitespace<CR> if exists(':xmap') xmap <Bslash>x :StripTrailingWhitespace<CR> endif |