From 504b622f49c816cb305b0e570eed6e4f1754ebf3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 29 Jun 2018 15:12:57 +1200 Subject: Restrict to normal mode --- plugin/strip_trailing_whitespace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') 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 +nnoremap \ StripTrailingWhitespace \ :call StripTrailingWhitespace() -- cgit v1.2.3