>
> On Jan 16, 4:27 pm, Eric Weir <eew...@bellsouth.net> wrote:
>>
>> I misspoke. Yes, I do use v and V--frequently! What puzzles me in this case is that the changes took place over an extended block of text. As I write I can see how that would have happened. Most of what was changed was in folds. If I selected the folds I would've selected everything in the fold.
>
> It's easy to make such mistake if selected text in Visual mode does
> not stand out and looks similar to Folded lines. Then you may not
> notice that you are in Visual mode. This is unfortunately a problem
> with many Vim color schemes, including the default one for GUI. They
> use the same or similar background color for selected text (Visual),
> folded lines (Folded), and current line/column (CursorLine,
> CursorColumn) highlight groups. I recommend setting background color
> for Visual selection to some bright, garish color that is different
> from all other highlightings. Something like CadetBlue2 or cyan. Then
> you will always know when you are in Visual mode. If you use default
> GUI colorscheme, try putting this in your .vimrc:
> hi Visual gui=NONE guifg=NONE guibg=CadetBlue2
Thanks, Vlad. I've been planning to change the color of folded lines in my setup to make the text more visible. Thanks for the suggestion of doing that for selected text in visual mode, too. Guess I'll want them to be different, so it's clear when folded lines have been selected.
Sincerely,
------------------------------------------------------------------------------------------
Eric Weir
eeweir@bellsouth.net
"The invincible shield of caring
Is a weapon sent from the sky
against being dead."
- Tao Te Ching 67
--
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