1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Fix: Silence FlyGrep opens to avoid hit-enter-prompt (#3215)

This commit is contained in:
Yaroslav Senyuta 2019-11-05 08:57:40 -05:00 committed by Wang Shidong
parent 5d16b783c6
commit 8cd000671f

View File

@ -477,7 +477,7 @@ function! s:open_item() abort
endif
let s:preview_able = 0
noautocmd q
exe 'e ' . filename
exe 'silent e ' . filename
call s:update_history()
call cursor(linenr, colum)
noautocmd normal! :
@ -501,7 +501,7 @@ function! s:open_item_vertically() abort
endif
let s:preview_able = 0
noautocmd q
exe 'vsplit ' . filename
exe 'silent vsplit ' . filename
call s:update_history()
call cursor(linenr, colum)
noautocmd normal! :
@ -525,7 +525,7 @@ function! s:open_item_horizontally() abort
endif
let s:preview_able = 0
noautocmd q
exe 'split ' . filename
exe 'silent split ' . filename
call s:update_history()
call cursor(linenr, colum)
noautocmd normal! :