commit fcfe6c82b8bd79fd398ebb06870f298a9463476c
parent 3bded84d29966c72816f476eef9d86e748761b16
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Fri, 21 Feb 2020 23:23:16 +0100
vim: command for strip trailing whitespace
Former-commit-id: 5e2273cfc6cf92eb2da56cf520c5b3b01e8a814d
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vim/plugin/strip_trailing_whitespace.vim b/vim/plugin/strip_trailing_whitespace.vim
@@ -5,5 +5,6 @@ function s:StripTrailingWhitespace()
normal ``
endif
endfunction
+command StripTrailingWhitespace call <SID>StripTrailingWhitespace()
nnoremap <Plug>StripTrailingWhitespace
\ :call <SID>StripTrailingWhitespace()<CR>