File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -888,17 +888,23 @@ fu! s:MapSpecs()
888888endf
889889
890890fu ! s: KeyLoop ()
891- wh exists (' s:init' ) && s: keyloop
892- redr
893- let nr = getchar ()
894- let chr = ! type (nr) ? nr2char (nr) : nr
895- if nr >=# 0x20
896- cal s: PrtFocusMap (chr)
897- el
898- let cmd = matchstr (maparg (chr), ' :<C-U>\zs.\+\ze<CR>$' )
899- exe ( cmd != ' ' ? cmd : ' norm ' .chr )
900- en
901- endw
891+ let t_ve = &t_ve
892+ set t_ve =
893+ try
894+ wh exists (' s:init' ) && s: keyloop
895+ redr
896+ let nr = getchar ()
897+ let chr = ! type (nr) ? nr2char (nr) : nr
898+ if nr >=# 0x20
899+ cal s: PrtFocusMap (chr)
900+ el
901+ let cmd = matchstr (maparg (chr), ' :<C-U>\zs.\+\ze<CR>$' )
902+ exe ( cmd != ' ' ? cmd : ' norm ' .chr )
903+ en
904+ endw
905+ fina
906+ let &t_ve = t_ve
907+ endt
902908endf
903909" * Toggling {{{1
904910fu ! s: ToggleFocus ()
You can’t perform that action at this time.
0 commit comments