Vim Tips Wiki
(title)
(Standard format.)
 
Line 1: Line 1:
=lastpos.vim=
 
 
 
{{ScriptComments|lastpos: last position jump improved for Easy Vim}}
 
{{ScriptComments|lastpos: last position jump improved for Easy Vim}}
   
Line 7: Line 5:
 
With Easy Vim ({{help|'insertmode'}}), the code to perform a {{help|last-position-jump|prefix=no}} can't restore a cursor position beyond EOL, because it will be executed in normal mode. This script overcomes that problem.
 
With Easy Vim ({{help|'insertmode'}}), the code to perform a {{help|last-position-jump|prefix=no}} can't restore a cursor position beyond EOL, because it will be executed in normal mode. This script overcomes that problem.
 
{{clear}}
 
{{clear}}
  +
 
==Comments==
 
==Comments==

Latest revision as of 07:30, 21 July 2012

Use this page to discuss script 3059 lastpos: last position jump improved for Easy Vim

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Overview[]

Last position restored

With Easy Vim (:help 'insertmode'), the code to perform a last-position-jump can't restore a cursor position beyond EOL, because it will be executed in normal mode. This script overcomes that problem.

Comments[]