You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
307 B
Lua
13 lines
307 B
Lua
4 years ago
|
let s:barModeRecurse = 0
|
||
|
|
||
|
function! s:BarMode()
|
||
|
if g:bar{s:barModeRecurse}ModeInput ==# 'z'
|
||
|
let s:barModeRecurse += 1
|
||
|
execute 'BarModeEnter'
|
||
|
let s:barModeRecurse -= 1
|
||
|
endif
|
||
|
endfunction
|
||
|
|
||
|
command! BarModeEnter call libmodal#Enter('BAR' . s:barModeRecurse, funcref('s:BarMode'))
|
||
|
execute 'BarModeEnter'
|