1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 04:40:06 +08:00

Hide cursor in terminal vim

This commit is contained in:
wsdjeg 2017-07-06 22:23:02 +08:00
parent d6f184f2da
commit e983864ad1

View File

@ -6,10 +6,13 @@ let s:grepid = 0
function! SpaceVim#plugins#flygrep#open() abort function! SpaceVim#plugins#flygrep#open() abort
rightbelow split __flygrep__ rightbelow split __flygrep__
setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nospell nonu norelativenumber setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nospell nonu norelativenumber
let save_tve = &t_ve
setlocal t_ve=
" setlocal nomodifiable " setlocal nomodifiable
setf SpaceVimFlyGrep setf SpaceVimFlyGrep
redraw! redraw!
call s:MPT.open() call s:MPT.open()
let &t_ve = save_tve
endfunction endfunction
function! s:flygrep(expr) abort function! s:flygrep(expr) abort