mirror of
https://github.com/Iron-E/nvim-libmodal
synced 2024-11-10 13:10:29 +00:00
49a02ad692
This was my first plugin. Looking back on it, it was full of bad design decisions (and I have elected to keep most of the user-facing ones for backwards-compatability). This merge tries to uncrustify the plugin by standardizing the documentation, removing much unecessary code, reorganizing the internal structures, and removing references to my own made-up terminology.
10 lines
225 B
VimL
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)
|