From 95255125180443f4f848fa4b08b7a0a28f9a7092 Mon Sep 17 00:00:00 2001 From: "U-UPCORP\\igen322" Date: Mon, 26 Apr 2010 14:15:13 -0500 Subject: [PATCH] now ESC-. gives you the last argument of the previous command --- lib/key-bindings.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh index 87e47bab6..06bf84c90 100644 --- a/lib/key-bindings.zsh +++ b/lib/key-bindings.zsh @@ -5,7 +5,10 @@ compinit bindkey -e bindkey '\ew' kill-region bindkey -s '\el' "ls\n" -bindkey -s '\e.' "..\n" + +## insert last argument from last command +bindkey '\e.' insert-last-word + bindkey '^r' history-incremental-search-backward bindkey "^[[5~" up-line-or-history bindkey "^[[6~" down-line-or-history