Prevent "Press ENTER or type command to continue"

Do not show "Press ENTER or type command to continue" message after type ".". Prepend "silent!"
This commit is contained in:
Cade-Forester 2014-03-30 01:42:54 -07:00
parent 2a3c5f8e3c
commit 33fdd6453e

View file

@ -88,10 +88,10 @@ function! repeat#run(count)
let c = g:repeat_count
let s = g:repeat_sequence
let cnt = c == -1 ? "" : (a:count ? a:count : (c ? c : ''))
call feedkeys(r . cnt, 'n')
call feedkeys(s)
silent! call feedkeys(r . cnt, 'n')
silent! call feedkeys(s)
else
call feedkeys((a:count ? a:count : '') . '.', 'n')
silent! call feedkeys((a:count ? a:count : '') . '.', 'n')
endif
endfunction