Sunday, September 4, 2011

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

On Sun, 4 Sep 2011, meino.cramer@gmx.de wrote:

>
> Hi,
>
> I am using vim on a recent Gentoo Linux system for nearly all editing
> tasks -- for example mailing this posting with mutt.
>
> If calling vim from the command line there is no problem at all.
>
> If vim is called from within mutt, the cursor is at 0,0 (which is
> correct) but the $ (end of line, not a real "$") at the right side of
> the cursor is highlighted -- sometimes also the $ below the cursor is
> highlighted.
>
> When starting "set list", the ghosts vanished as they do, when I give
> a :nohlsearc.

If it goes away with :noh, you're just seeing the matches for your last
saved search.


> No sessions are saved automagically.

Even if sessions aren't saved automatically, .viminfo probably is, and
IIRC, 'hls' is saved under the Gentoo defaults. So, if the last thing
you searched was /$/ or something that would match an end of line, you
may simply be seeing the last search.

Try searching for 'asdf' within a mutt editing session. Then fire up
mutt again, and see if 'asdf' is the thing highlighted. (If there's no
'asdf' to highlight, type it, see if it gets highlighted.)

--
Best,
Ben

--
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:

Post a Comment