From 2cd8cded3694c2e872f1204b6bffbafe162406b9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 24 Jul 2018 15:50:42 +1200 Subject: Remove redundant :normal command --- autoload/colon_operator.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."\" + execute ':''[,'']'.s:command endfunction " Clear command so that we get prompted to input it, set operator function, -- cgit v1.2.3