vim (vi iMproved) is a modal terminal based editor descended from the 31 year old vi, that drives non-geeks insane. Modal means you can't just start typing in vim, which starts in "command mode", you have to enter "insert mode first, and then type. To use commands, for example, to save and quit, you have to exit insert mode and enter command mode. However, as you can see it can syntax highlight xml making it much easier to read and parse. The terminal here is mrxvt a version of rxvt with certain enhancements like tabs and TrueType font support.

After taking a look at the XML I realized it used an external call to the Link widget and thus wasn't easily editable to add my links.in so I switched back to the classic template to make it easier on me. That's when I decided to do this post about vim, which also has SL related uses because it can also syntax hightlight LSL (Linden Scripting Language)

As well as autocomplete LSL, type ll and hit Ctrl+n and it will popup a little mini-window.with all the llwhatever functions.

It can do tons of other stuff, like tabbed editing (just like tabbed browsing in Firefox, but even works in the terminal version) but not to worry, there is also a graphical menus n mouses version named gvim that is installed right along with vim.

See, it's not that scary. But even using gvim, the keyboard commands stay the same, like :wq! for "write(save) and quit". So there's a gvim enhancement called cream, that makes gvim act "normal" from a Windows users perspective. Ctrl+S saves for example. But any way you slice it, any version of vim is a better text editor than Notepad.
Windows installer for standard vim and gvim
Cream-ified vim/gvim for Windows installer Very popular among Windows users.
I will not speak of the editor emacs, I don't like it even if you can play Nethack, tetris, adventure and read your e-mail from within it. Yes, I know about viper mode that makes emacs act like vi, but that's the problem, viper mode acts like vi and not vim.
I've heard good things about a Notepad replacement called Notepad++ but I have never used that.
2 comments:
If you want to stay on Windows you could try Scite (http://www.scintilla.org/SciTE.html) - much nicer than notepad =)
There are even syntax files for LSL (http://adammarker.org/shill/), and an older ez version for LSL which I don't think is supported anymore but may still be useful (http://sdfjkl.org/secondlife/scite/).
I am not an emacs fan either. I realize all vi, vim, and emacs users are fanatical but I'm w/ you- vim all the way. And I used to use emacs on an our old sun system in college...
-Kesseret Steeplechase
Post a Comment