aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-12 13:06:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-12 13:06:16 +1200
commitc3caf7a59c033ae38e7c31db4e66ce77fc9c2485 (patch)
tree876129ccfbba237e0a2bcc235b4ac14c2a731731 /vim/vimrc
parent0f47beb14eaecdd0186f48549da5f03b2ab8ed45 (diff)
downloaddotfiles-c3caf7a59c033ae38e7c31db4e66ce77fc9c2485.tar.gz
dotfiles-c3caf7a59c033ae38e7c31db4e66ce77fc9c2485.zip
Update and configure for strip_trailing_whitespace
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index a25e5e90..766c0f16 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 <Plug>StripTrailingWhitespace
+nmap <Bslash>x <Plug>(StripTrailingWhitespace)
" \y shows all registers
nnoremap <Bslash>y :<C-U>registers<CR>
" \z sets NZ English spelling (compare \u)