On Thu, Apr 3, 2008 at 10:57 AM, Wade Curry <[EMAIL PROTECTED]> wrote:
>
>  I meant to send this tip out a few days ago, now I can't find the
>  e-mail it was going to be a response to.  So, anyway...
>
>  Someone on the list mentioned recently that he doesn't use marks
>  much, except when he wants to return to his original position after
>  a large change.  Vim actually provides a mark for "last position"
>  so that you don't have to set one.
>
>  After a :%s/.../.../ command, Vim will take you to the position of
>  the last substitution, but  ``  will take you back to your position
>  before the change.

Yes, I use that frequently.  Note that the command is
<apostrophe><apostrophe>.  My Gmail system shows it looking like
<back-single-quote><back-single-quote> on the display.  If I check
"show original" I see what it should be.  Some computers are too smart
for their own good!

    carl
-- 
 carl lowenstein marine physical lab u.c. san diego
 [EMAIL PROTECTED]


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to