bind command: assign Shift-Enter to a command #10069
Replies: 1 comment 2 replies
-
https://fishshell.com/docs/current/interactive.html#key-sequences
bind -k enter 'do something'
bind \eOM 'do something' So, use either of the two and replace the "do something" with whatever you want. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I would like to assign the
Shift-Enter
key combination to execute the command: "accept-autosuggestion execute". I found how to do it with the Control-o combination:But how to do the same with
Shift-Enter
?Beta Was this translation helpful? Give feedback.
All reactions