Options for custom user logic#34
Conversation
|
As a separate suggestion, it would be nice if Example use-case: |
|
@nkgm Hi, super late but I don't quite understand the feature. How is this different from |
|
Hi @s1n7ax, apologies for the late response!
As for my second comment about Please note, all opinionated behavior listed above is implemented in user config. This PR merely adds enough flexibility to the core, so the opinionated parts may reside in the user's config, and should be backwards compatible with the existing config options. |
hint.pre_assign_chars: this started out as an experiment of unifying the familiar HJKL window navigation hints with the amazing features this plugin has to offer, and evolved into this generalized option.process_unknown_char: this is required in order to handle (control-) chars not available as hints. The original intention was to quickly switch between the last 2 windows using<C-w><C-w>, but in its general form could cover more potential use-cases.This is the
lazy.nvimconfig I'm using with the current branch and it's working really well for me so far.I understand the api for
2.0is still in flux and things are bound to change, so please re-arrange as you see fit, as long as we maintain enough flexibility to cover use-cases like the ones outlined above.