[ILUG] [TOTD] emacs-like tabkey auto indentation in vim
Stephen Shirley
diamond at skynet.ie
Mon Feb 28 18:32:24 GMT 2005
P at draigBrady.com wrote:
> Nice tip!
Thanks. I seem to be making a habit of tipping as a way of avoiding
reading excessively flowery papers -)
> The usual way this is done though is:
>
> imap <tab> <C-O>==
Ah hah! I knew there would be a 'more standard' way, just had no idea
how to figure it out. For those of who, like me, didnae know what ctrl-o
does in insert mode in vim:
CTRL-O execute one command, return to Insert mode *i_CTRL-O*
Thanks,
Steve
More information about the ILUG
mailing list