September 30, 2004

Andy's always banging on about Vim. And having seen him using it, I have to admit, he can go like stink using it.

Well, now I've got a console only Debian box that I'm working on, so I'm having a go. I don't like it. It keeps beeping at me.

I've also just wasted 3 hours trying to get PHP 4 running under Apache 2, only to find that it was all going Pete Tong because I'd installed the wrong package - libapache-mod-php4 rather than libapache2-mod-php4. Doh! Still, it's all going now, and it's all been very educational. I'm relearning the knack of getting around a command line, I'm learning some Linux commands and a bit of Bash, and if I'm not exactly becoming familiar with Vim, I'm no longer utterly bewildered.

Posted to Linux by Simon Brunning at September 30, 2004 04:26 PM

Two things to remember;

1. If in doubt press escape *before* doing anything else. In all but the most dire of circumstances that will return you to command mode.

2. Navigate using the magic hjkl keys (it avoids sending erroneous escape sequences from dodgy terminals).

3. There is no point number 3.

Good luck with the best little editor in the world, it only took me about a year to get vaguely competent: and the last fourteen to figure out all of the other stuff ;-)

Posted by: Andy Todd on September 30, 2004 04:51 PM

use emacs =0)

Posted by: Dominic Davis on September 30, 2004 05:15 PM

I'm not getting into *this* one...

Posted by: Simon Brunning on September 30, 2004 05:24 PM

Bah, and I haven't even thrown in the csh rulez flame bait or the my distro is better than yours argument =0)

I can understand your pain with apache modules, going through the same thing myself, made all the more fun on a Mac.

Posted by: Dominic Davis on September 30, 2004 07:23 PM

I like emacs (GNU), but for sys admin tasks I've been using joe lately. It comes in a couple flavors with different keybindings -- jmacs, jpico, jstar, plus plain joe (which I think is close to wordstar key bindings).

Posted by: Ian Bicking on September 30, 2004 07:37 PM

I read through the online manual at about a chapter a week. There's heaps of good advice in there. :help is your friend (albeit one of those weird techo types who only answers your question if you ask it exactly right.)

I find ":colo blue" best for poor monitors, or where there are lots of reflections.


Posted by: Alan Green on October 1, 2004 03:03 AM

Try :set vb that should make the screen flash instead of beeping. If you don't want either, try :set vb t_vb=

And always remember: if in trouble, use :help!

Bookmark vim online for lots of useful stuff e.g.:

Posted by: flippetygibbet on October 1, 2004 06:33 AM

Or get yourself a vi mug and be the envy of geeks everywhere.

Posted by: Darren on October 1, 2004 10:06 AM

I find Vim very useful but be careful, only use it on enalled baths, it will scratch the newer plastic ones so use Jif instead.

Posted by: Steve on October 1, 2004 11:23 AM

cheap ambien
No matter you?re suffering from transient insomnia or chronic insomnia or acute insomnia, you can use this drug to get rid off your type of issue.
zolpidem online
Moreover, there are certain mental disorders that can be treated with this drug. - zolpidem online
It?s obviously due to its salient features that the demand of Ambien seems to increase continuously without showing any sign to fall down.

Posted by: AADyncGyDay on October 24, 2009 12:30 PM
Post a comment

Email Address:



Remember info?