-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom mappings in popup inputs #21
Comments
You are correct in that the mappings only apply to the main windows. Let me ask you this, why not make that a global shortcut for insert mode everywhere?
Then it would apply to the filter input as well. |
I can probably go the global shortcut route as suggested. Although there might be situations down the line where it would still make sense to allow this kind of "Telescope-like" customization of mappings, where you can specify distinct Normal and Insert mode mappings for the plugin only. If you feel this kind of customization is not worth it, feel free to close the issue. |
It's definitely worth having, although not the highest priority unless more people are looking for it. I'll leave it open but change the title to make it more generic. |
hi @cseickel I just ran into this issue. I try to hit |
@sandangel That's a bug that appears to be in the main / v2.x branches. I probably just added it. I'm going to move this to a separate issue. |
Currently Ctrl-w will go into Normal mode instead of deleting the previous word, which would be the usual Insert mode behavior.
I tried customizing the Filesystem mappings in the following way:
However I believe this does not work because this mapping is not available inside the "Enter Filter Pattern" popup. Although if it did work, it would also cause problems for when wanting to use Ctrl-w in NeoTreeFloat outside of the filter pattern situation.
Basically, is it possible to restore the normal Ctrl-w behavior inside "Enter Filter Pattern" or allow the user to properly customize the keybindings within that particular situation?
One potential avenue that Telescope is using, is to allow different mappings for different modes:
The text was updated successfully, but these errors were encountered: