Merge pull request #633 from alex-wood/keymapping-enhancements
Additional aliases
This commit is contained in:
commit
01a98ae479
@ -80,6 +80,7 @@ alias gci='git ci'
|
|||||||
alias gco='git co'
|
alias gco='git co'
|
||||||
alias gcp='git cp'
|
alias gcp='git cp'
|
||||||
alias ga='git add -A'
|
alias ga='git add -A'
|
||||||
|
alias gap='git add -p'
|
||||||
alias guns='git unstage'
|
alias guns='git unstage'
|
||||||
alias gunc='git uncommit'
|
alias gunc='git uncommit'
|
||||||
alias gm='git merge'
|
alias gm='git merge'
|
||||||
@ -136,7 +137,8 @@ alias gz='tar -zcvf'
|
|||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
alias c='rails c' # Rails 3
|
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 ts='thin start'
|
||||||
alias ms='mongrel_rails start'
|
alias ms='mongrel_rails start'
|
||||||
alias tfdl='tail -f log/development.log'
|
alias tfdl='tail -f log/development.log'
|
||||||
|
@ -8,3 +8,9 @@ bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward
|
|||||||
# emacs style
|
# emacs style
|
||||||
bindkey '^a' beginning-of-line
|
bindkey '^a' beginning-of-line
|
||||||
bindkey '^e' end-of-line
|
bindkey '^e' end-of-line
|
||||||
|
|
||||||
|
# Make numpad enter work
|
||||||
|
bindkey -s "^[Op" "0"
|
||||||
|
bindkey -s "^[Ol" "."
|
||||||
|
bindkey -s "^[OM" "^M"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user