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. Anti-spam check. Do not fill this in!==[[Restore screen size and position]]== This one has some bugs, so I suggest deferring it for a while until it matures. The first script on the page doesn't really work unless you never open multiple Vims simultaneously (the original non-servername-based one would have worked, but the version currently there does not), and the second one I recently discovered has a bug: it clobbers your unnamed register. There may well be others. Needs a bit more work/polishing before featuring. [[User:Sightless|Sightless]] 06:34, 3 July 2008 (UTC) ---- Once it works, I'm pretty indifferent. It seems quite a complicated/script heavy tip, but we have a few of those. Perhaps it would do better as a plugin, though? --[[User:Fritzophrenic|Fritzophrenic]] 22:29, 3 July 2008 (UTC) ---- I don't want to keep the tip unless it shows some insight, or is helpful as is (without obvious bugs), or it is likely that it will be fixed soon. We have too many TODO items to leave loose ends IMHO. I have posted to vim_use recommending that if we don't fix the tip now, it should be deleted. --[[User:JohnBeckett|JohnBeckett]] 12:04, 30 August 2008 (UTC) ---- I've fixed the clobbering unnamed register bug. I suggest removing the first alternative. I believe the second is superior and ready for prime time. I said on the mailing list I had disabled this: I hadn't. It has been working flawlessly for me ever since it was written, except for the register clobbering, which is now fixed. I probably will disable it, as it messes with my workflow on some rare occasions, but that's no bug in the script! [[User:Sightless|Sightless]] 15:05, 30 August 2008 (UTC) ---- I have added a third version of the script which has the slight advantage that it uses readfile()/writefile() to access the data file, and so does not mess up any MRU file or buffer lists. I intend to leave all three versions for a few days to see if anyone wants to comment. If none, I'll clean it up in maybe a week. I haven't given it a great test, but it sure seems to work, and looks good for people who like that kind of thing. --[[User:JohnBeckett|JohnBeckett]] 12:04, 9 September 2008 (UTC) ---- Summary: 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) Retrieved from "https://vim.fandom.com/wiki/Vim_Tips_Wiki:New_tips/200806"