Monday, September 5, 2011

Re: To travel the unknown space, where no man has gone before.

On 2011-09-05, meino.cramer@gmx.de wrote:
> Taylor Hedberg <tmhedberg@gmail.com> [11-09-05 00:09]:
> > I have the same setup as you (Mutt, Vim, rxvt-unicode), though on Arch
> > rather than Gentoo, but I've never seen this behavior. I'd suspect it's
> > a plugin that's causing it somehow.
> >
> > Mutt uses the value of your EDITOR environment variable to launch an
> > editor when composing mail, so I would suggest starting Mutt in a
> > modified environment so that it will launch Vim without plugins. Instead
> > of just typing `mutt` on the command line, use:
> >
> > EDITOR='/usr/bin/vim -u NONE' mutt
> >
> > Then, check whether you're still seeing the same problem. If not, then
> > you can start disabling your plugins in a binary search to narrow it
> > down to the particular one that's causing the problem.
> >
> > Vim usually detects the filetype of Mutt's temporary files as "mail", if
> > that helps you at all in your search.

> Hi Taylor,
>
> thank you for help !
>
> I will check that. The problem does not arise, if vim is called
> from the commandline, so it must be a difference, if mutt calls vim.
>
> I will see... :)

Mutt also has its own 'editor' variable that may be set in your
~/muttrc or in the system /etc/muttrc. Executing "mutt -v" will
show you at least some of mutt's system files. You can also execute
this on mutt's command line:

:set ?editor

to see the current setting.

Some people set this variable to something like

"vim +/^$"

so that the cursor is positioned after the mail header or after the
message body, depending on other mutt configuration variables.

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: