mirror of
https://github.com/Iron-E/nvim-libmodal
synced 2024-11-04 18:00:15 +00:00
13 lines
307 B
Lua
13 lines
307 B
Lua
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'
|