Skip to content

Commit

Permalink
Fix: Silence FlyGrep opens to avoid hit-enter-prompt (SpaceVim#3215)
Browse files Browse the repository at this point in the history
  • Loading branch information
yarko3 authored and wsdjeg committed Nov 5, 2019
1 parent 5d16b78 commit 8cd0006
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/SpaceVim/plugins/flygrep.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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! :
Expand All @@ -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! :
Expand All @@ -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! :
Expand Down

0 comments on commit 8cd0006

Please sign in to comment.