1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-24 17:00:47 +00:00

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
This commit is contained in:
Mat Schaffer 2012-03-17 22:03:01 -03:00 committed by Felix Dreissig
parent f7708d4181
commit 3839c6e9e6

View file

@ -6,7 +6,6 @@ bindkey -e # Use emacs key bindings
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark
bindkey -s '\el' 'ls\n' # [Esc-l] - run command: ls
bindkey -s '\e.' '..\n' # [Esc-.] - run command: .. (up directory)
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.
bindkey '^[[5~' up-line-or-history # [PageUp] - Up a line of history
bindkey '^[[6~' down-line-or-history # [PageDown] - Down a line of history