aboutsummaryrefslogtreecommitdiff
path: root/plugin/strip_trailing_whitespace.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/strip_trailing_whitespace.vim')
-rw-r--r--plugin/strip_trailing_whitespace.vim11
1 files changed, 2 insertions, 9 deletions
diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim
index 7055d26..9edcaf4 100644
--- a/plugin/strip_trailing_whitespace.vim
+++ b/plugin/strip_trailing_whitespace.vim
@@ -1,6 +1,6 @@
"
-" strip_trailing_whitespace.vim: User-defined key mapping and optional command
-" to strip trailing whitespace in the whole document.
+" strip_trailing_whitespace.vim: User-defined key mapping to strip trailing
+" whitespace in the whole document.
"
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
@@ -90,10 +90,3 @@ endfunction
noremap <silent> <unique>
\ <Plug>StripTrailingWhitespace
\ :<C-U>call <SID>StripTrailingWhitespace()<CR>
-
-" Define a user command too, if we can
-if has('user_commands')
- command -nargs=0
- \ StripTrailingWhiteSpace
- \ call <SID>StripTrailingWhitespace()
-endif