aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/strip_trailing_whitespace.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 17:33:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 17:33:06 +1300
commit85b05425ed3be65439fefa5f0074d3d7f18217f9 (patch)
tree6785858b291dcc6bbaddd5b363b28261b37a6401 /vim/plugin/strip_trailing_whitespace.vim
parentMove Vim background detection logic into plugin (diff)
downloaddotfiles-85b05425ed3be65439fefa5f0074d3d7f18217f9.tar.gz
dotfiles-85b05425ed3be65439fefa5f0074d3d7f18217f9.zip
Don't suggest mappings in Vim plugin comments
Pretty useless, really.
Diffstat (limited to 'vim/plugin/strip_trailing_whitespace.vim')
-rw-r--r--vim/plugin/strip_trailing_whitespace.vim2
1 files changed, 0 insertions, 2 deletions
diff --git a/vim/plugin/strip_trailing_whitespace.vim b/vim/plugin/strip_trailing_whitespace.vim
index 6a83eb53..36e1d2ad 100644
--- a/vim/plugin/strip_trailing_whitespace.vim
+++ b/vim/plugin/strip_trailing_whitespace.vim
@@ -1,5 +1,4 @@
" User-defined key mapping to strip trailing whitespace in the whole document
-" Suggested mapping: <leader>\x
if has('eval')
" Define function for stripping whitespace
@@ -53,7 +52,6 @@ if has('eval')
endfunction
" Create mapping proxy to the function just defined
- " Suggested mapping: <leader>x
noremap <Plug>StripTrailingWhitespace
\ :<C-U>call <SID>StripTrailingWhitespace()<CR>
endif