On 3/14/07, Gary Johnson <[EMAIL PROTECTED]> wrote:
On 2007-03-13, Peng Yu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Suppose I use p to paste something, the cursor always goes to the end
> of the pasted text. Is there any other key to paste will keep the
> cursor before the pasted text?

See

    :help `[


Is it possible to jump to a mark at the exact same position in the
line as when the mark was set? When I jump to a mark I always get back
to the first character of the line.

Even '< described as "To the first character of the last selected
Visual area in the current buffer" puts me at the start of the line.

Thanks

Raph



You could either type `[ after the p to move the cursor, or you
could remap p like this

    :noremap p p`[

to have it behave that way all the time.

HTH,
Gary

--
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Mobile Broadband Division
                             | Spokane, Washington, USA



--
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org

Reply via email to