All entries for Thursday 28 September 2006
September 28, 2006
In Vim use Ctrl-n
In XEMacs use Alt-/
In this series of postings—“Vim Vs XEmacs”, I will reflect on my experiences with these two editors. For a long time, I was addicted to Vim (or old time vi), and then all of a sudden last year I decided to go for XEmacs. The transition was smooth and I quickly learned the nuances of XEmacs. It was difficult, but very intuitive. I liked several features of XEMacs, like indentation, word completion and colorthemes.
After using XEMacs for 1 year, I realized that Xemacs is missing some of the things which made Vim my favourite editor. It is so easy to use Vim over telnet, e,g. I like vim’s default colortheme and Vim its like my first love and so too difficult to forget. So I decided to look for all the things which I like in Xemacs and see if I can have them on Vim. Today I will show how to get that nice “TAB” indentation of xemacs in vim. You have to use ”==” to indent in the palce of Tab, but it has got the same effect as TAB in XEMacs.
All you have to do is to add following lines in your ~/.vimrc file:
- Thanks Antony B. Holmes for the tip.