[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: auto-indenting-formatting with a vi?



"Richard E. Hawkins Esq." wrote:
> 
> As I get more and more frustrated with emacs, it keeps occurring to me
> that the *only* reason I'm using emacs instead of vi is that it
> indents and color-codes my program code.  

Try the following command...

:set autoindent

this works for me for general programming.  But if you're editing text
files and desire to cut and paste from different terms then it will reek
havoc.  If you want to turn it off then...

:set noautoindent

I can't help you with color coding.

Jon


Reply to: