aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-24 15:50:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-24 15:50:42 +1200
commit2cd8cded3694c2e872f1204b6bffbafe162406b9 (patch)
tree6eb3a9be8da17b9bf0d6713a3b0b222dfc17a001
parent5525627dd9727f2ee713e3a06145a145410bcd7c (diff)
downloadvim-colon-operator-2cd8cded3694c2e872f1204b6bffbafe162406b9.tar.gz
vim-colon-operator-2cd8cded3694c2e872f1204b6bffbafe162406b9.zip
Remove redundant :normal command
-rw-r--r--autoload/colon_operator.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/colon_operator.vim b/autoload/colon_operator.vim
index 04a099b..5773fa6 100644
--- a/autoload/colon_operator.vim
+++ b/autoload/colon_operator.vim
@@ -4,7 +4,7 @@ function! colon_operator#Operatorfunc(type) abort
if !exists('s:command')
let s:command = input('g:', '', 'command')
endif
- execute 'normal! :''[,'']'.s:command."\<CR>"
+ execute ':''[,'']'.s:command
endfunction
" Clear command so that we get prompted to input it, set operator function,