aboutsummaryrefslogtreecommitdiff
path: root/autoload
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 /autoload
parentFirst release (diff)
downloadvim-colon-operator-2cd8cded3694c2e872f1204b6bffbafe162406b9.tar.gz
vim-colon-operator-2cd8cded3694c2e872f1204b6bffbafe162406b9.zip
Remove redundant :normal command
Diffstat (limited to 'autoload')
-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,