Peter Palfrader wrote:
...
> but this should work for all editors (that support +<lineno>):
>
> set editor="vim +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"
>
> It is stolen from Roland Rosenfeld's <[EMAIL PROTECTED]> great
> muttrcs.
Or even better, use the builtin awk variable NR:
set editor="vim +\`awk '/^$/ {print NR+1; exit}' %s\` %s"
Cheers,
Stan
- not quoting signatures on reply Leonid Mamtchenkov
- Re: not quoting signatures on reply Ronny Haryanto
- Re: not quoting signatures on reply David T-G
- Re: not quoting signatures on reply Caster
- Re: not quoting signatures on reply David T-G
- Re: not quoting signatures on reply Caster
- Re: not quoting signatures on reply Peter Palfrader
- Re: not quoting signatures on rep... Stan Ryckman
- Re: not quoting signatures on rep... Caster
- Re: not quoting signatures on... iain truskett
- Re: not quoting signature... Caster
- Re: not quoting signature... iain truskett
- Re: not quoting signature... Caster
- Re: not quoting signature... Christian Schult
- Re: not quoting signatures on reply Michael Tatge
- Re: not quoting signatures on rep... Marius Gedminas
- Re: not quoting signatures on rep... Caster
- Re: not quoting signatures on reply Kai Blin
