diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-29 15:12:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-29 15:12:57 +1200 |
commit | 504b622f49c816cb305b0e570eed6e4f1754ebf3 (patch) | |
tree | 1786de3fd28a9b64b2032f69b59ebdc461747244 | |
parent | Add <unique> attribute (diff) | |
download | vim-strip-trailing-whitespace-504b622f49c816cb305b0e570eed6e4f1754ebf3.tar.gz vim-strip-trailing-whitespace-504b622f49c816cb305b0e570eed6e4f1754ebf3.zip |
Restrict to normal mode
-rw-r--r-- | plugin/strip_trailing_whitespace.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/strip_trailing_whitespace.vim b/plugin/strip_trailing_whitespace.vim index 8be44ba..b332034 100644 --- a/plugin/strip_trailing_whitespace.vim +++ b/plugin/strip_trailing_whitespace.vim @@ -90,6 +90,6 @@ function! s:StripTrailingWhitespace() endfunction " Create mapping proxy to the function just defined -noremap <silent> <unique> +nnoremap <silent> <unique> \ <Plug>StripTrailingWhitespace \ :<C-U>call <SID>StripTrailingWhitespace()<CR> |