mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:20:04 +08:00
Fix: Silence FlyGrep opens to avoid hit-enter-prompt (#3215)
This commit is contained in:
parent
5d16b783c6
commit
8cd000671f
@ -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! :
|
||||
|
Loading…
Reference in New Issue
Block a user