-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Milestone
Description
By examining the default binds of Fish, I found Fish doesn't use history-search-backward for up arrow. It's quite a habit in Bash to use up arrow for that.
How can I rewrite up arrow and bind it with history-search-backward?
bind \e\eOA history-token-search-backward
bind \e\eOB history-token-search-forward
bind \e\e\[A history-token-search-backward
bind \e\e\[B history-token-search-forward
bind \eO3A history-token-search-backward
bind \eO3B history-token-search-forward
bind \e\[3A history-token-search-backward
bind \e\[3B history-token-search-forward
bind \e\[1\;3A history-token-search-backward
bind \e\[1\;3B history-token-search-forward
bind \cp history-search-backward
bind \cn history-search-forwardThe escaped characters in Fish are so hard to read, let alone figuring out which is the up arrow.
Reactions are currently unavailable