annotate .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 |
|
rev |
line source |
0
|
1 bindkey -e |
|
2 autoload -U history-search-end |
|
3 zle -N history-beginning-search-backward-end history-search-end |
|
4 zle -N history-beginning-search-forward-end history-search-end |
|
5 bindkey '\e[A' history-beginning-search-backward-end |
|
6 bindkey '\e[B' history-beginning-search-forward-end |