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.
15 lines
292 B
VimL
15 lines
292 B
VimL
let s:barModeRecurse = 0
|
|
|
|
let s:barModeCombos = {
|
|
\ 'z': 'BarModeEnter',
|
|
\}
|
|
|
|
function! s:BarMode()
|
|
let s:barModeRecurse += 1
|
|
call libmodal#Enter('BAR' . s:barModeRecurse, s:barModeCombos)
|
|
let s:barModeRecurse -= 1
|
|
endfunction
|
|
|
|
command! BarModeEnter call s:BarMode()
|
|
execute 'BarModeEnter'
|