Merge pull request #633 from alex-wood/keymapping-enhancements

Additional aliases
This commit is contained in:
Yan Pritzker 2015-07-21 20:34:13 -05:00
commit 01a98ae479
2 changed files with 9 additions and 1 deletions

View File

@ -80,6 +80,7 @@ alias gci='git ci'
alias gco='git co'
alias gcp='git cp'
alias ga='git add -A'
alias gap='git add -p'
alias guns='git unstage'
alias gunc='git uncommit'
alias gm='git merge'
@ -136,7 +137,8 @@ alias gz='tar -zcvf'
# Ruby
alias c='rails c' # Rails 3
alias co='script/console --irb=pry' # Rails 2
alias co='script/console' # Rails 2
alias cod='script/console --debugger'
alias ts='thin start'
alias ms='mongrel_rails start'
alias tfdl='tail -f log/development.log'

View File

@ -8,3 +8,9 @@ bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward
# emacs style
bindkey '^a' beginning-of-line
bindkey '^e' end-of-line
# Make numpad enter work
bindkey -s "^[Op" "0"
bindkey -s "^[Ol" "."
bindkey -s "^[OM" "^M"