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 94: Line 94:
 
{{todo}}
 
{{todo}}
 
*It looks like `:mkview` and `:loadview` are much better solutions to this (see http://stackoverflow.com/questions/8854371)
 
*It looks like `:mkview` and `:loadview` are much better solutions to this (see http://stackoverflow.com/questions/8854371)
::Sorry if I am mistakenly messing with your formatting.
 
::I currently use this simple alternative:
 
augroup resCur
 
autocmd!
 
autocmd BufReadPost * call setpos(".", getpos("'\""))
 
augroup END
 
::--andresp (probably not logged in atm)
 
 
*Check my comment following, and the explanation after that (refactored from Anres.p's comment with dealt-with material omitted).
 
*Check my comment following, and the explanation after that (refactored from Anres.p's comment with dealt-with material omitted).
 
*I have not yet looked at the current solution. [[User:JohnBot|JohnBot]] 07:14, January 22, 2011 (UTC)
 
*I have not yet looked at the current solution. [[User:JohnBot|JohnBot]] 07:14, January 22, 2011 (UTC)
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)