3839c6e9e62a2671b1d3f5662e4d2bc3984c3f9e

Author
Mat Schaffer <mat@schaffer.me>
Committer
Felix Dreissig <f30@f30.me>
Date

Message

Don't clobber standard Esc+. behavior

Esc+. works as "last arg" on both bash and zsh. Seems like a shame to introduce a new standard.

Conflicts:
	lib/key-bindings.zsh

Diff

 1diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
 2index 195bbb38e33e08a0e01008fda3ebdd48539bea66..8168c8d90e260f700fca8e9def70e70280f53cf7 100644
 3--- a/lib/key-bindings.zsh
 4+++ b/lib/key-bindings.zsh
 5@@ -6,7 +6,6 @@ bindkey -e                                          # Use emacs key bindings
 6 
 7 bindkey '\ew' kill-region                           # [Esc-w] - Kill from the cursor to the mark
 8 bindkey -s '\el' 'ls\n'                             # [Esc-l] - run command: ls
 9-bindkey -s '\e.' '..\n'                             # [Esc-.] - run command: .. (up directory)
10 bindkey '^r' history-incremental-search-backward    # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line.
11 bindkey '^[[5~' up-line-or-history                  # [PageUp] - Up a line of history
12 bindkey '^[[6~' down-line-or-history                # [PageDown] - Down a line of history