Raphael Bauduin wrote:
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.
Let's say you have set the x mark using the mx command. To go back to the
exact same cursor location, use `x (where ` is a backtick, i.e. something more
or less like a grave accent with no letter under it: 0x60), not an apostrophe.
Using 'x (with an apostrophe, 0x27) would bring you back to the first nonblank
on the same line instead. `x (with backtick) is a characterwise motion, 'x
(with apostrophe) is linewise.
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
Here too, `< (with backtick) goes characterwise to the start of the (latest)
visual area while '< (with apostrophe) goes linewise to the first nonblank in
the same line.
See ":help mark-motions".
Best regards,
Tony.
--
In a world without walls and borders, who needs windows and gates?