1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:20:05 +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 endif
let s:preview_able = 0 let s:preview_able = 0
noautocmd q noautocmd q
exe 'e ' . filename exe 'silent e ' . filename
call s:update_history() call s:update_history()
call cursor(linenr, colum) call cursor(linenr, colum)
noautocmd normal! : noautocmd normal! :
@ -501,7 +501,7 @@ function! s:open_item_vertically() abort
endif endif
let s:preview_able = 0 let s:preview_able = 0
noautocmd q noautocmd q
exe 'vsplit ' . filename exe 'silent vsplit ' . filename
call s:update_history() call s:update_history()
call cursor(linenr, colum) call cursor(linenr, colum)
noautocmd normal! : noautocmd normal! :
@ -525,7 +525,7 @@ function! s:open_item_horizontally() abort
endif endif
let s:preview_able = 0 let s:preview_able = 0
noautocmd q noautocmd q
exe 'split ' . filename exe 'silent split ' . filename
call s:update_history() call s:update_history()
call cursor(linenr, colum) call cursor(linenr, colum)
noautocmd normal! : noautocmd normal! :