mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Clear cmd line after SPC s c
This commit is contained in:
parent
4ee372f2a3
commit
4607151b5b
@ -84,9 +84,9 @@ function! SpaceVim#plugins#searcher#count() abort
|
|||||||
return ' ' . len(s:rst) . ' items '
|
return ' ' . len(s:rst) . ' items '
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
nnoremap <silent> <Plug>(nohlsearch) :nohlsearch<Cr>
|
||||||
function! SpaceVim#plugins#searcher#clear()
|
function! SpaceVim#plugins#searcher#clear()
|
||||||
call feedkeys(":nohlsearch\<cr>")
|
call feedkeys("\<Plug>(nohlsearch)")
|
||||||
let s:rst = []
|
let s:rst = []
|
||||||
call setqflist([])
|
call setqflist([])
|
||||||
let &l:statusline = SpaceVim#layers#core#statusline#get(1)
|
let &l:statusline = SpaceVim#layers#core#statusline#get(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user