view .shell.d/50.keybindings.zsh @ 353:95621f473f7e

c-mode: detect when I'm editing a .c file from hg and set style appropriately
author Augie Fackler <raf@durin42.com>
date Wed, 05 Nov 2014 12:53:02 -0500
parents 62bfb554ab85
children
line wrap: on
line source

bindkey -e
autoload -U history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
bindkey '\e[A' history-beginning-search-backward-end
bindkey '\e[B' history-beginning-search-forward-end