On Tue, Aug 01, 2000 at 11:12:26AM +0200, Dirk Huebner wrote:
> Jan Houtsma: Dienstag, 01 Aug 2000:
>
> > ## Edit my muttrc
> > macro pager <esc>E "!vim $HOME/.mutt/.muttrc\n:source $HOME/.mutt/.muttrc\n"
> > macro index <esc>E "!vim $HOME/.mutt/.muttrc\n:source $HOME/.mutt/.muttrc\n"
> > macro browser <esc>E "!vim $HOME/.mutt/.muttrc\n:source $HOME/.mutt/.muttrc\n"
>
> Hi,
>
> why do you ":source $HOME/.mutt/.muttrc\n"?
>
> I use:
> macro···index···<F9>····"!vim ~/.muttrc\n" "Edit muttrc"
> macro···index···<F10>···":source ~/.muttrc\n" "Reload muttrc"
>
> This works perfectly (with highlighting).
>
Well, what you do with pressing both F9 and then pressing F10, i do with
only one single press (F2). I always want to reload after i edited the
settings so.
But besides that, i just noticed that what i described only happens when i
am remotely logged in via telnet!! When i am locally on the PC, then it's
fine.
But when i am telnetted to my box from work then from the commandline
'vim .muttrc' works fine with syntax highlighting, but from mutt it doesn't.
I just found that out. Makes it even more obscure does it? :)))
jan
jan