September 30, 2004
Vim

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
Comments

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.

'luck.

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.: http://www.vim.org/tips/tip.php?tip_id=201

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

dem franchize boyz suckas come and try me when a teen girl prays funny car drag video blonde boy snowboarding

Posted by: Sasha on October 27, 2008 06:12 AM

lincoln ls assessories ls spoilers sex gags adultfilms pics of almost nude ladies

Posted by: Future_dim on October 29, 2008 04:53 AM

wisconsion jobnet refomparty florida gerber life ins co. online game biology wttg and duffy dyer
vince giannini janesville messenger march 19th issue redmont gardens apartments kioz and padres master library science norman ok

Posted by: Albina-lb on October 29, 2008 07:11 PM

wisconsion jobnet refomparty florida gerber life ins co. online game biology wttg and duffy dyer
vince giannini janesville messenger march 19th issue redmont gardens apartments kioz and padres master library science norman ok

Posted by: Albina-lb on October 29, 2008 07:11 PM

wisconsion jobnet refomparty florida gerber life ins co. online game biology wttg and duffy dyer
vince giannini janesville messenger march 19th issue redmont gardens apartments kioz and padres master library science norman ok

Posted by: Albina-lb on October 29, 2008 07:11 PM

Posted by: Future_dim on October 31, 2008 10:17 PM

Posted by: Future_dim on October 31, 2008 10:17 PM

Posted by: Future_dim on November 1, 2008 04:29 AM

Posted by: Future_dim on November 4, 2008 12:41 PM

city chic company mercruiser chevy 6 cylinder vinnie iyer ncaa picks j-shin lyrics kids restaurant maryland

Posted by: Albina-ef on November 6, 2008 11:57 AM

city chic company mercruiser chevy 6 cylinder vinnie iyer ncaa picks j-shin lyrics kids restaurant maryland

Posted by: Albina-ef on November 6, 2008 11:57 AM

guitars acoustic cheep kids restaurant maryland deleted history sexual assualt indicators internet explorer 6 patch

Posted by: Albina-he on November 6, 2008 12:09 PM

guitars acoustic cheep kids restaurant maryland deleted history sexual assualt indicators internet explorer 6 patch

Posted by: Albina-he on November 6, 2008 12:09 PM

guitars acoustic cheep kids restaurant maryland deleted history sexual assualt indicators internet explorer 6 patch

Posted by: Albina-he on November 6, 2008 12:09 PM

halloways the sixth commandment webtycho login miniture horse adopation in texas irish pubs in nj

Posted by: Albina-kw on November 6, 2008 10:41 PM

free to and from labels webtycho login nicole michaelis gondry united sates volcanoes irish pubs in nj

Posted by: Albina-yd on November 6, 2008 10:54 PM

free to and from labels webtycho login nicole michaelis gondry united sates volcanoes irish pubs in nj

Posted by: Albina-yd on November 6, 2008 10:55 PM

free to and from labels webtycho login nicole michaelis gondry united sates volcanoes irish pubs in nj

Posted by: Albina-yd on November 6, 2008 10:55 PM

ny new play reading traiding post direct insite

Posted by: Albina-ls on November 12, 2008 10:18 AM

traiding post lakefront properties for sale by state work it out

Posted by: Albina-ql on November 12, 2008 10:35 AM

traiding post lakefront properties for sale by state work it out

Posted by: Albina-ql on November 12, 2008 10:35 AM

traiding post lakefront properties for sale by state work it out

Posted by: Albina-ql on November 12, 2008 10:36 AM

blowjubs alex bell blister in the sun violent femme lyrics

Posted by: Albina-lz on November 12, 2008 03:43 PM

monthly income at various yields dodge city i could never love you enough

Posted by: Albina-hk on November 12, 2008 04:01 PM

wanted posters for slaves.. ect information on concerta medicine side effects parakeets grooming

Posted by: Albina-bd on November 12, 2008 08:57 PM

jose jaime garcia and dynamic and garcia communications comic art gallery paintings ufiflow

Posted by: Albina-dw on November 12, 2008 09:09 PM

jose jaime garcia and dynamic and garcia communications comic art gallery paintings ufiflow

Posted by: Albina-dw on November 12, 2008 09:10 PM

hotel diva in san francisco genetic disorters perno

Posted by: Albina-sa on November 13, 2008 01:59 AM

what does efc expected family contribution mean styrofoam rose cones the smart family foundation

Posted by: Albina-iy on November 13, 2008 02:19 AM

what does efc expected family contribution mean styrofoam rose cones the smart family foundation

Posted by: Albina-iy on November 13, 2008 02:20 AM

what does efc expected family contribution mean styrofoam rose cones the smart family foundation

Posted by: Albina-iy on November 13, 2008 02:20 AM

singles

Posted by: Mary-ne on March 1, 2009 07:30 AM

singles

Posted by: Mary-ne on March 1, 2009 07:30 AM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?