From 02bd933c580ec0015ed298341d0b14cdc8768588 Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 6 Jan 2014 15:06:22 +0800 Subject: [PATCH] Add Alt+. as a default binding for history-token-search-backward Closes #89. --- share/functions/fish_default_key_bindings.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish index a46d3f945..a03faaba4 100644 --- a/share/functions/fish_default_key_bindings.fish +++ b/share/functions/fish_default_key_bindings.fish @@ -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