mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 05:30:05 +08:00
Fix clossing window
This commit is contained in:
parent
6b2cf66ceb
commit
addb138cac
@ -319,6 +319,9 @@ function! s:start_buffer() " {{{
|
|||||||
silent 1put!=string
|
silent 1put!=string
|
||||||
normal! gg"_dd
|
normal! gg"_dd
|
||||||
setlocal nomodifiable
|
setlocal nomodifiable
|
||||||
|
if empty(maparg("<c-c>", "c", 0, 1))
|
||||||
|
execute 'cnoremap <nowait> <silent> <buffer> <c-c> <esc>'
|
||||||
|
endif
|
||||||
call s:wait_for_input()
|
call s:wait_for_input()
|
||||||
endfunction " }}}
|
endfunction " }}}
|
||||||
" @vimlint(EVL102, 0, l:string)
|
" @vimlint(EVL102, 0, l:string)
|
||||||
@ -452,6 +455,7 @@ endfunction " }}}
|
|||||||
|
|
||||||
function! s:handle_submode_mapping(cmd) " {{{
|
function! s:handle_submode_mapping(cmd) " {{{
|
||||||
let s:guide_help_mode = 0
|
let s:guide_help_mode = 0
|
||||||
|
call s:updateStatusline()
|
||||||
if a:cmd ==? '<LGCMD>page_down'
|
if a:cmd ==? '<LGCMD>page_down'
|
||||||
call s:page_down()
|
call s:page_down()
|
||||||
elseif a:cmd ==? '<LGCMD>page_up'
|
elseif a:cmd ==? '<LGCMD>page_up'
|
||||||
|
Loading…
Reference in New Issue
Block a user