vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] xvile's middle button paste moves cursor to the right


From: Thomas Dickey
Subject: Re: [vile] xvile's middle button paste moves cursor to the right
Date: Wed, 14 Feb 2007 20:05:48 -0500 (EST)

On Wed, 14 Feb 2007, Eric Krohn wrote:


I like to paste text into xvile when it is command mode, as that preserves
whitespace from the selection without autoindenting.  However, one of the
annoying side effects of the middle mouse button paste is that the xvile
cursor moves one position to the right.  Which means if I want to do a
series of pastes into the midst of existing text lines, I keep having to
move the cursor back to the beginning of the line.  Is this one of those
genuine-vi compatibility settings, or is it a bug in xvile?

I see these in CHANGES.R6, which seem to describe the behavior (so it
was intentional, although one might want to change it):

(kev)   970120 (f)
        + x11.c (x_getc): Advance DOT by one after a paste so that default
          position for newly pasted text is *after* the text just pasted.

(kev)   970120 (e)
        + x11.c: Added resource controlling whether DOT is reset after making
          a selection.  Also added/extended code for implementing this.

(tom)   970119 (d)
        + modify select/paste behavior in xvile so that the default pastes text
          at the last cursor (or mouse-click) position before selecting
          (requested by Jukka Keto <address@hidden>)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]