aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-22 20:14:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-22 20:14:42 +1200
commite651040b48808842355ed142835ad524a3cdbb44 (patch)
treef98320ae7624ca9a5db4824fb074f8d8b07329fc /vim
parentAdd some folding settings (diff)
downloaddotfiles-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')
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 6b34b5d4..e10e1bd0 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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