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/keymaps.vim

10 lines
225 B
VimL

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