On 5/20/2006 7:21 PM, Gerald Lai wrote:
Hi, Gerald. Thanks for the reply. This is a pretty creative suggestion,
but I can't get it to work quite right. I tried adding this to my
.vimrc:
nnoremap 2-LeftMouse viwoC-g
vnoremap 2-LeftDrag LeftDrag
Yes, Vim should recognize the 2-LeftDrag
On Sat, 20 May 2006, Jared wrote:
On 5/18/2006 1:52 AM, Gerald Lai wrote:
On Tue, 16 May 2006, Gerald Lai wrote:
I just thought of another more pleasing workaround, if you're
interested. Try:
nnoremap 2-LeftMouse viwo
vnoremap 2-LeftDrag LeftDrag
This way, if you wish to select the last
On Wed, 17 May 2006 at 11:41pm, Jared wrote:
On 5/17/2006 11:11 PM, Eric Arnold wrote:
While the visual mode selection is active, hitting o moves to the
opposite corner.
SNIP
Keep in mind that it doesn't work the same with a selection made by
the mouse, since that leaves it in
Use the o command to switch positions of the cursor, and then move
to the left.
On 5/16/06, Gerald Lai [EMAIL PROTECTED] wrote:
On Tue, 16 May 2006, Jared wrote:
[snip]
So, my question: is it somehow possible to be able to select the last
character of a line when selecting from
Hi!
So, my question: is it somehow possible to be able to select the
last
character of a line when selecting from right-to-left while using
selection=exclusive?
This can be done by doing
:set virtualedit=onemore
which allows the cursor to move just past the end of the line. This
makes
While the visual mode selection is active, hitting o moves to the
opposite corner. If it isn't doing that for you, I'd check for
vmap
interference.
3. Changing the Visual area *visual-change*
*v_o*
o
Jared wrote:
On 5/17/2006 12:52 AM, Gerald Lai wrote:
So, my question: is it somehow possible to be able to select the last
character of a line when selecting from right-to-left while using
selection=exclusive?
The simplest work around is to hit ol (that's oh-el) to select that
last
On 5/17/2006 11:11 PM, Eric Arnold wrote:
While the visual mode selection is active, hitting o moves to the
opposite corner.
SNIP
Keep in mind that it doesn't work the same with a selection made by
the mouse, since that leaves it in select mode not visual mode,
which has some properties
Ok, I have a really weird questions this time. I use the
selection=exclusive option, because I don't like Vim to select the hidden
newline character at the end of lines when I'm copying or deleting an
entire line. However, this has one side effect that I have not been able to
figure out. If I