Going oldschool with VIM
Lets face it, there is certainly no shortage of editors and IDE’s out there today. One would think that command line editors like VI or VI iMproved, Nano, Emacs, etc. should die a really sudden, quick and painless death. Yet, you’d be sorely mistaken. These editors will stay the editors of choice on any *nix server that does not have a GUI installed. Plus what could be simpler than typing
sudo vi /etc/apache2/httpd.conf
to edit system configuration files?
Me and Charl also had a discussion about how hardcore old school geeks swear by it, doing all their programming in these editors. You’d wonder why. I sure did, so I whipped out vimtutor and sharpened the ol’ VIM skills. Now, working with it more and more and getting used to all the shortcuts and keystrokes, it is becoming clearer by the day why it remains the editor of choice for hardcore geeks. It makes it fast! I’m by no means a hardcore geek, but I do see why they like it.
Admittedly, it is quite a learning curve, but once you are used to the commands its much quicker raking in those keystrokes than it is clicking all over some editor to get your rocks on!
It has got really good syntax highlighting and just in case you are afraid you will sorely miss your IDE’s tabbed open document interface you can easily open as much terminal windows as needed to suit your needs. All in all, I think I’ll stay a little longer with VIM than what I expected…
Multiple windows with VIM

PHP syntax highlighting

Python syntax highlighting

3 Comments to "Going oldschool with VIM"
Spit it out!
Kick-ass Tools, PHP, Programming, Python Stii
Recent Posts
- Afrigator vs Regator
- Don’t pirate music/movies! You might be forced to use Windows if you do…
- Pike > Python?
- Using Twhirl for FriendFeed
- Being anti-social SUCKS!
- Example using XFN and Optimus to find friends on Afrigator
- Optimus, the ultimate Microformats parser
- Please support UnitedForAfrica.co.za
- Afrigator Beta2.0 - Lets amplify the Xenophobia issue
- What can we as bloggers do about the Xenophobia crisis?
My Posse
- Jayx’s bloggy
- Gogo’s blog
- Go2 South Africa
- Stumble Upon
- Dave Duarte
- Wikipedia
- zlythern
- Max Kaizen
- Tresblue
- Mike Stopforth
- RafiQ
- Muti.co.za
- Employmint
- Danette’s Bloggy!
- Thinking Machine
- White African
- kiefpiet.co.za
- Skuff’s World
- Goozeberry
- Crossloop blog
- Crossloop
- Aquila Online
- Charl van Niekerk
- Derek Allard
- Code Igniter
- Carls
- Justin Hartman
- blik.co.za
- Stefano Sessa
- Uno de Waal
- Amplitude!
- bLaugh
- Tyler Reed
- Chris Rawlinson
- Stormhoek!
- 3am
- Mike Solomon
- Mobile Q and A
- Eric Edelstein
- Marc Forrest
- Imel Rautenbach
- Absolutewillie
- Vincent Maher
- Colin Daniels
- Groogle!
- Chilibean
- Paul Jacobson
- Ayelet
- Python Guru Neil
- Rails Guru Nic
- Beverley Merriman
- Miguel
- Nic Harrywhatshisname
- Chris iMod
- Geekrebel!
- Steven McD
- Belinda sweetheart!
- Henre Rossouw
- JPGeek
- Foxinni
- Adii
- Charl Norman
- Bandwidthblog
- Jason Bagley
- Simon Botes
- Auric Silverwing
- Mark Forrester
- Saul Kropman
- Fred Roed
- Sass Schultz
Filed in
- Afrigator (26)
- ajax (9)
- API (2)
- Apple stuff (10)
- Blogging (24)
- browsers (5)
- Business (27)
- Code Igniter (8)
- firefox (8)
- flock (14)
- Funnies (72)
- GeekDinner! (18)
- General and sometimes Rants (47)
- Go2SA (2)
- ideas 2.0 (14)
- javascript (12)
- Kick-ass Tools (30)
- Linux (5)
- Marketing (25)
- moo.ajax (4)
- mootools (6)
- Open Source (10)
- Programming (33)
- C# (1)
- PHP (13)
- Python (9)
- Ruby (on Rails) (9)
- RSS (5)
- Semantic Web (32)
- Social Web (57)
- Software Development (15)
- South Africa (33)
- Tagging (6)
- Techie stuff (22)
- Tshirts (2)
- Tutorials (42)
- Blogging (17)
- Flocking (6)
- muti.co.za (13)
- Web 2.0 (73)
- web development (20)
Past Stuff
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006















I’m a VIM fan but VI experts will claim you should never use VIM at all on servers as it creates a security risk. My issue with this is I learned everything I know on VIM and it is surprising how different the command variations are between VI and VIM.
Stii: There aren’t many GUI editors that have the expressive power of vi (and, by extension, vim) and (I can’t believe I’m being nice to it) emacs and that’s why there will always be interest in them. Geeks generally like the streamline their productive work to only worrying about the important things. Trying to remember which menu to use, or having to switch to using the mouse for some things, is counter-productive.
Justin: I’d love to know who your vi experts are - I wouldn’t worry about security risks from installing vim on servers. And to know _which_ vi derivative they were using - the original vi isn’t exactly available on any remotely modern operating systems.
Thanx guys! Neil, the more I dig into VIM, the more I realise its extreme power. I’m loving it! Every day learning something new.
What I find extremely handy is the fact that you can write a certain block of text in a file into a new file (:5, 10 w newfile.php -> will write lines 5 to 10 into a new file called newfile.php). Nah, there is a bunch of powerful features that I don’t think I can live without anymore.