Add Alt+. as a default binding for history-token-search-backward

Closes #89.
This commit is contained in:
David Adam 2014-01-06 15:06:22 +08:00
parent 8160c85e44
commit 02bd933c58

View file

@ -89,6 +89,9 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind \e\[1\;9B history-token-search-forward # iTerm2
bind \e\[1\;9C forward-word #iTerm2
bind \e\[1\;9D backward-word #iTerm2
# Bash compatibility
# https://github.com/fish-shell/fish-shell/issues/89
bind \e. history-token-search-backward
bind \ed forward-kill-word
bind -k ppage beginning-of-history
bind -k npage end-of-history