You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release stabilizes the usage of buffer-local keymappings in a Layer:
libmodal.layer.enter(
{
n= { -- normal mode mappingsgg= { -- remap `gg`rhs='G', -- map it to `G`buffer=true, -- only for this buffer; didn't work right before.
},
},
},
'<Esc>'
)
The whole plugin has had a facelift. Most of the cruft (except for the API… I don't want to break backwards compatibility) has been removed. This means that the plugin is faster to require and easier to maintain than ever before (also easier to contribute to, if you are so inclined!)
The documentation has been improved as well. The examples should only use publicly-defined functions which can be found by running :h libmodal.