Re: [dev] Re: a little bit of vi+zsh magic

From: Jacob Todd <jaketodd422_AT_gmail.com>
Date: Thu, 5 Nov 2009 19:23:42 +0000

On Thu, Nov 05, 2009 at 09:49:36AM +0100, Uriel wrote:
> I use ed almost every day, it is by far the fastest way to to small
> edits, by the time vi starts up, I have typed /foo\n c\n bar\n .\n
> wq\n
Vi? nvi (the only vi clone I know of) starts up instantly for me.

> And here is the thing about ed, I know (or used to anyway) every
> command and feature inside-out by heart, while *nobody* knows what 1%
> of the vim options do! Recently I was stuck on windows with a
> improperly built vim that was using DOS line endings by default, it
> was fucking hell to figure out that the right option to solve the
> problem was to use the *ffs* setting! There are about a dozen slightly
> different flags all of which affect how line endings are set! For
> Fucks Sake!
You could have just done

:%s/C-vC-m//g

in vim.

-- 
Jake Todd
// If it isn't broke, tweak it!

Received on Thu Nov 05 2009 - 19:23:42 UTC

This archive was generated by hypermail 2.2.0 : Fri Nov 06 2009 - 00:36:02 UTC