bindkey -M isearch "^[[B" history-incremental-pattern-search-forward
# }}}
-# URL quoting {{{
-autoload -U url-quote-magic
-autoload -U bracketed-paste-magic
-zle -N self-insert url-quote-magic
-zle -N bracketed-paste bracketed-paste-magic
-# }}}
-
# Prompt {{{
function zle-line-init zle-keymap-select {
mode_vi="${${KEYMAP/vicmd/+}/(main|viins)/-}"
# Faster movement {{{
cddotdot() {
cd ..
+ pwd
zle reset-prompt
}
zle -N cddotdot
bindkey "\eOQ" cddotdot # F2
pushdquiet() {
- popd >/dev/null
+ popd
zle reset-prompt
}
zle -N pushdquiet
alias Gb="git branch"
alias Gc="git checkout"
alias Gd="git diff"
-alias Gs="git show"
+alias Gdc="git diff --cached"
+alias Gs="git show --show-signature"
alias Gm="git diff --name-only --diff-filter=M"
alias Gam="git commit --amend"