max397574 / better-escape.nvim

Map keys without delay when typing
GNU General Public License v3.0
629 stars 19 forks source link

refactor: alternative way to fix bidirectional mappings #71

Closed Sam-programs closed 3 months ago

max397574 commented 3 months ago

what makes this implementation different from the current one?

Sam-programs commented 3 months ago

what makes this implementation different from the current one?

This pr maps the starting keys first, then the subkeys--the subkeys won't get overwrriten if they are mapped last. The current one doesn't map the starting key if the subkey was mapped before.