Loading ...
Sorry, an error occurred while loading the content.

Re: Add to jumplist

Expand Messages
  • Jürgen Krämer
    Hi, ... perhaps this excerpt from :help jumplist helps you ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Regards, Jürgen -- Sometimes I think the
    Message 1 of 2 , Jul 31, 2006
    • 0 Attachment

      SHANKAR R-R66203 wrote:
      > Is there a function, to add the line under the cursor to the jump-list
      > ?
      > This may sound strange. I am coding a function in which "from the
      > current line, the cursor moves to a different line or a file
      > altogather."
      > I want a way to come back if needed by the CTRL-O command

      perhaps this excerpt from ":help jumplist" helps you

      | When the |:keepjumps| command modifier is used, jumps are not stored in the
      | jumplist. Jumps are also not stored in other cases, e.g., in a |:global|
      | command. You can explicitly add a jump by setting the ' mark.


      Sometimes I think the surest sign that intelligent life exists elsewhere
      in the universe is that none of it has tried to contact us. (Calvin)
    Your message has been successfully submitted and would be delivered to recipients shortly.