[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Bringing some style to my C code - How?



> I am new to C programming. Just started with Kerninghan and Ritchie. To
> type code, when a file with .c extension was opened in emacs, it entered
> in a mode that helped in styling the code properly.
> Vijay

Wo to vi/vim/gvim mein bhi hota hain.

:syntax on

after you have opened the file. Have consistent extension. In my case, I
could not call this option from .*rc file...
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.