On Sunday 08 November 2009, Michael Scheper wrote:
> When you turn wrapping on in vim (:set wrap), you can't
> tell from looking at the screen where a line starts. I
> sometimes type /^ to highlight the first character in a
> line, but as soon as I search for something else, this
> effect disappears. I know there's :set list, but that
> messes up tabs, which I use for indentation sometimes (not
> always because I want to). I suppose I could do something
> fancy with syntax highlighting, but it might not be
> compatible with existing syntax highlighting. Is there a
> better way?
one thing that can help with wrapped lines is the 'showbreak'
option
i used to have
set showbreak="> "
in my .vimrc but at some point vim started reading the first
double quote as the beginning of a comment, so i changed it to
set showbreak=+
and that seems to work fine
i know this isn't exactly what you asked, but i believe it is
the next best thing and gets you what you need
sc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---