The choice of editor

The first thing for my USB key is a good editor, and this turns out to be the hardest.

As I am an Emacs user, the idea thing is to bring Emacs with me. However, it is too laaaarge for a USB key. It’ll take half of my 256M key, and I’ll have severl MB of configure files and packages. And to get it fully working, I’ll need to find several windows binaries of open source software, and some of them won’t work like in nix environment.

Too leave room for the other applications. I decide to find some replacement. My initial requirements are:

  1. Emacs like interface
  2. support Chinese language
  3. syntax highlight
  4. available in both Windows and Unix
  5. there is a dired-like mode

After several hours searching on the Internet, the best fit I can find is notgnu. A lightweight Emacs like editor. The only drawback is that it doesn’t support syntax highlight. First I think this doesn’t matter that much cause I won’t do too much text editing on a foreigh machine.

But I was wrong. One day I have to debug several dos/windows .bat files and I missed syntax highlight!

As I’ve did a pretty hard search the first time, I decide to give up requirement (0). And an obvious answer comes out: VIM! I know the basic dozen of vim commands, but, God, I don’t want to learn another set of keybindings to use it efficiently just because I’ll use it causually on a foreigh machine, and deal with all the config files!

OK, I’ll need to give up some thing more….

My current choice is pspad. It’s only for Windows though. But, damm, it’s so powerful, and easily configured, and less than 10M. Pretty much what I want.

Tags: , , , ,

Post a Comment

You could use <code type="name"> to get your code colorized

Your email is never published nor shared. Required fields are marked *

Close
E-mail It