All entries for Thursday 28 September 2006

September 28, 2006

Vim Vs XEMacs : Word Completion

In Vim use Ctrl-n
In XEMacs use Alt-/

Vim Vs XEMacs : Indentation

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:

set et
set sw=2
set sts=2
set smarttab
set autoindent
set smartindent
set cindent
set background=dark
syntax on

  1. Thanks Antony B. Holmes for the tip.


PhD Comics

September 2006

Mo Tu We Th Fr Sa Su
Aug |  Today  | Oct
            1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30   

Search this blog


Most recent comments

  • Can't beat a German Market. by on this entry
  • Imagine Shiva in Words by this stotra (Thanks to Ravana) by Yogendra on this entry
  • This is the favorite and most inspiring stothram for me. It invokes the manliness in ourself to rise… by Bhargav on this entry
  • Went last night and it was really good. First time i have been and will definatly return next year. by Mad Dozza on this entry
  • strota really purifies soul by shailendra on this entry

Blog archive

Not signed in
Sign in

Powered by BlogBuilder