mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:20:04 +08:00
Add key binding to stop runner
There is no way to stop runner without closing runner window. Add key binding Ctrl-c to runner window.
This commit is contained in:
parent
2d9a05299d
commit
f427b624fa
@ -45,6 +45,7 @@ function! s:open_win() abort
|
||||
set filetype=SpaceVimRunner
|
||||
nnoremap <silent><buffer> q :call <SID>close()<cr>
|
||||
nnoremap <silent><buffer> i :call <SID>insert()<cr>
|
||||
nnoremap <silent><buffer> <C-c> :call <SID>stop_runner()<cr>
|
||||
augroup spacevim_runner
|
||||
autocmd!
|
||||
autocmd BufWipeout <buffer> call <SID>stop_runner()
|
||||
|
Loading…
Reference in New Issue
Block a user