Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
 
|previous=1568
 
|previous=1568
 
|next=1570
 
|next=1570
βˆ’
|created=2008
+
|created=June 4, 2008
 
|complexity=basic
 
|complexity=basic
 
|author=Dfishburn
 
|author=Dfishburn
Line 32: Line 32:
   
 
==Version 1 (Vim 7 and above)==
 
==Version 1 (Vim 7 and above)==
βˆ’
This version uses Vim's <code>readfile()</code> and <code>writefile()</code> functions to access the file used to save the size/position. That in addition to the use of the <code>split()</code> function makes this version unusable in Vim 6.x.
+
This version uses Vim's <tt>readfile()</tt> and <tt>writefile()</tt> functions to access the file used to save the size/position. That in addition to the use of the <tt>split()</tt> function makes this version unusable in Vim 6.x.
 
<pre>
 
<pre>
 
if has("gui_running")
 
if has("gui_running")
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)