On Sat, Nov 7, 2009 at 20:47, Sumantra Dutta Roy <[email protected]>wrote:
> > On Fri, Nov 06, 2009 at 11:18:58PM -0500, narendra sisodiya wrote: > > 5) Do anybody know, how vi can be used to programming purpose ?? like > > auto indent, syntax highlight and so on, There are some setting file > > Simply use emacs!!! If you open a code, the mode is automatically detected and loaded. start typing and hit tab at every new line, you get automatically indented code. If you need to indent code use C-x h (select whole buffer) and C-M-\. Need more - then do a C-x h and M-x untabify (convert indent to spaces) vi was actually meant to be used over networks, whereyou dont run vi on the system you are using, and so need "effecient" keystrokes, but I dont get the fun in using vi on desktops, when you can do everything of that and more from emacs shell: M-! command <RET> shell mode: M-x shell - you can unlimited history of command and output that can be saved!!! CVS integration. svn also can be done using scritps. cscope and tags integrated. In addition you can compile from the editor itself and it parses the output for errors and takes you to those lines. And if nothing else, then lisp is a good language to learn...... -- Lots o' Luv, Phani Bhushan Let not your sense of morals prevent you from doing what is right - Isaac Asimov (Salvor Hardin in Foundation and Empire) --~--~---------~--~----~------------~-------~--~----~ Do you have another question? Click here - http://groups.google.com/group/iitdlug/post Read archive - http://www.mail-archive.com/[email protected]/ l...@iitd community mailing list -- http://groups.google.com/group/iitdlug -~----------~----~----~----~------~----~------~--~---
