[sf-lug] [Noisebridge-discuss] vim question

Frantisek Apfelbeck algoldor at yahoo.com
Mon Oct 8 20:21:56 PDT 2012


Thanks a lot Seth, I plan to play with that in the evening. I hope to find nice chunk of time in the future and improve my skills with vim it is an amazing program! It is nice to see that many members are more than familiar with this lovely piece of software.

Sincerely,
 
Frantisek Algoldor Apfelbeck


biotechnologist&kvasir and hacker


http://www.frantisekapfelbeck.org


"There is no way to peace, peace is the way." Mohandas Karamchand Gandhi



________________________________
 From: Seth David Schoen <schoen at loyalty.org>
To: Frantisek Apfelbeck <algoldor at yahoo.com> 
Cc: Noisebridge <noisebridge-discuss at lists.noisebridge.net>; "sf-lug at linuxmafia.com" <sf-lug at linuxmafia.com> 
Sent: Tuesday, October 9, 2012 9:23 AM
Subject: Re: [Noisebridge-discuss] vim question
 
Frantisek Apfelbeck writes:

> Hi to all,
> I have a vim related question. I'm reading an e-book in vim (lovely green text on the black background) but I have a problem to remember where did I finished last when I want to continue reading. I know that I can make a kind of "mark word" and search for it but I wonder if I could somehow make vim start on the line where I finished (where the cursor was last). Do you think it is possible and if so how?
> 
> I know it is kind very lazy question but it would be so comfortable ...

One thing to know about are the m and ' commands.  In the most basic
form, you use m followed by a letter to set a mark (named with that
letter) at the current location, and then ' followed by that letter to
navigate back to that location (including, if you choose, as a cursor
movement combined with another action).

For example, ma to set mark "a" and then 'a to navigate to mark "a".

You can also use '' to go back to where you were before the most recent
' command, so you can use repeated '' commands to jump back and forth
between two spots in a document.

-- 
Seth David Schoen <schoen at loyalty.org>      |  No haiku patents
     http://www.loyalty.org/~schoen/        |  means I've no incentive to
  FD9A6AA28193A9F03D4BF4ADC11B36DC9C7DD150  |        -- Don Marti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20121008/e944363a/attachment.html>


More information about the sf-lug mailing list