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.
nvim-libmodal/examples/key-combos.vim

10 lines
229 B
VimL

" Register key combos for splitting windows and then closing windows
let s:barModeCombos = {
\ 'zf': 'split',
\ 'zfo': 'vsplit',
\ 'zfc': 'q'
\}
" Enter the mode using the key combos.
call libmodal#Enter('BAR', s:barModeCombos)