mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
Merge df80ee3110 into 615e41b0ec
This commit is contained in:
commit
2b8102b739
2 changed files with 8 additions and 5 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
# TODO: Explain what some of this does..
|
# TODO: Explain what some of this does..
|
||||||
|
# For more information on keybindings, see http://zshwiki.org/home/zle/bindkeys
|
||||||
|
|
||||||
bindkey -e
|
#bindkey -e
|
||||||
|
bindkey -v # vi keybindings
|
||||||
bindkey '\ew' kill-region
|
bindkey '\ew' kill-region
|
||||||
bindkey -s '\el' "ls\n"
|
bindkey -s '\el' "ls\n"
|
||||||
bindkey '^r' history-incremental-search-backward
|
bindkey '^r' history-incremental-search-backward
|
||||||
|
|
@ -25,10 +27,11 @@ bindkey "^[[1;5D" backward-word
|
||||||
bindkey '^[[Z' reverse-menu-complete
|
bindkey '^[[Z' reverse-menu-complete
|
||||||
|
|
||||||
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
|
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
|
||||||
|
# default keybinding is normal US Keyboard (non-mac)
|
||||||
bindkey '^?' backward-delete-char
|
bindkey '^?' backward-delete-char
|
||||||
bindkey "^[[3~" delete-char
|
bindkey "^[[3~" delete-char
|
||||||
bindkey "^[3;5~" delete-char
|
#bindkey "^[3;5~" delete-char
|
||||||
bindkey "\e[3~" delete-char
|
#bindkey "\e[3~" delete-char
|
||||||
|
|
||||||
# consider emacs keybindings:
|
# consider emacs keybindings:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ compdef _git gba=git-branch
|
||||||
alias gcount='git shortlog -sn'
|
alias gcount='git shortlog -sn'
|
||||||
compdef gcount=git
|
compdef gcount=git
|
||||||
alias gcl='git config --list'
|
alias gcl='git config --list'
|
||||||
alias gcp='git cherry-pick'
|
alias gchp='git cherry-pick'
|
||||||
compdef _git gcp=git-cherry-pick
|
compdef _git gchp=git-cherry-pick
|
||||||
alias glg='git log --stat --max-count=5'
|
alias glg='git log --stat --max-count=5'
|
||||||
compdef _git glg=git-log
|
compdef _git glg=git-log
|
||||||
alias glgg='git log --graph --max-count=5'
|
alias glgg='git log --graph --max-count=5'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue