annotate .shell.d/50.misc_setup.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 0f226b0af88a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
255
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 # edit current command line in $EDITOR support
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 autoload edit-command-line
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3 zle -N edit-command-line
0f226b0af88a zsh: support for editing current command in $EDTIOR
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
4 bindkey '^X^e' edit-command-line