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 113: Line 113:
 
I guess everyone knows that you can use the 'history' tab on the wiki to see old versions. If you click the date for a particular version, that version if opened. If wanted, you can edit the old version and copy out all the wikitext to a local file. That's a good way to compare two versions, although the wiki difference tool on the history page is surprisingly good and is often all that you need. Be careful not to save an old version unless you want to wipe out changes since that time. --[[User:JohnBeckett|JohnBeckett]] 04:21, 20 July 2008 (UTC)
 
I guess everyone knows that you can use the 'history' tab on the wiki to see old versions. If you click the date for a particular version, that version if opened. If wanted, you can edit the old version and copy out all the wikitext to a local file. That's a good way to compare two versions, although the wiki difference tool on the history page is surprisingly good and is often all that you need. Be careful not to save an old version unless you want to wipe out changes since that time. --[[User:JohnBeckett|JohnBeckett]] 04:21, 20 July 2008 (UTC)
   
βˆ’
[<b>RESPONSE</b>] The <tt>b:undo_ftplugin</tt> didn't execute anything after the <tt>:call matchdelete()</tt> on plain VIM 7.0, because (I think) the | binds stronger than the <tt>:sil!</tt>, and so if <tt>matchdelete()</tt> fails, the following commands aren't executed, and the mappings aren't undone. I fixed that, and also added the <tt>2match none</tt> undo for plain VIM 7.0. I also removed the <tt>nnoremap <buffer>n n</tt>, which is a no-op, isn't it?! At least, highlighting also works for me without this. -- [[User:Inkarkat|Inkarkat]] 20:29, 20 July 2008 (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)