Permalink
Browse files

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.
  • Loading branch information...
1 parent 1120f97 commit 5f72c6313643f3e627394c540192b77781c08178 @matschaffer matschaffer committed Mar 18, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/key-bindings.zsh
@@ -3,7 +3,6 @@
bindkey -e
bindkey '\ew' kill-region
bindkey -s '\el' "ls\n"
-bindkey -s '\e.' "..\n"
bindkey '^r' history-incremental-search-backward
bindkey "^[[5~" up-line-or-history
bindkey "^[[6~" down-line-or-history

2 comments on commit 5f72c63

@wkl
wkl commented on 5f72c63 Jun 19, 2012

hmm, "alt + ." is faster than "..\n"

@matschaffer
Contributor

I don't use cd .. much now that I have autojump. The default alt+. is to cycle through your previous final args which saves a ton of typing. This is also the same on bash. Aliasing ..\n is nice, but not at the expense of common functionality.

Please sign in to comment.