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
Is there any way to rebind keys in a completion menu in nushell.
Default behavior is the following: Tab opens completion menus and if it is already opened Tab selects next element and Enter accepts suggestion.
I want to be able to rebind so this behavior change to the following: Tab opens menu and if it is already opened Tab accepts suggestion, Enter closes menu. (In my case there is a system-wise rebinding for the arrow keys so Alt+j and Alt+k selects upper and lower element in list).
Currently I have this config, but reading documentation I cannon wrap my head around what needs to be changed in order for desired changes to take effect:
Question
Is there any way to rebind keys in a completion menu in nushell.
Default behavior is the following:
Tab
opens completion menus and if it is already openedTab
selects next element andEnter
accepts suggestion.I want to be able to rebind so this behavior change to the following:
Tab
opens menu and if it is already openedTab
accepts suggestion,Enter
closes menu. (In my case there is a system-wise rebinding for the arrow keys soAlt+j
andAlt+k
selects upper and lower element in list).Currently I have this config, but reading documentation I cannon wrap my head around what needs to be changed in order for desired changes to take effect:
I though about changing the
edit: complete
tosend: complete
but there is no such event ascomplete
.Thanks everyone in advance.
Additional context and details
No response
The text was updated successfully, but these errors were encountered: