sponsor Vim development Vim logo Vim Book Ad

delins.vim : easy marking of corrections in a document

 script karma  Rating 1/1, Downloaded by 419  Comments, bugs, improvements  Vim wiki

created by
Mirko Scholz
 
script type
utility
 
description
This script I use for marking changes in text files with the html ins and del tags.

To mark something something to insert past the current char press <F5> in normal mode.  "<ins></ins>" appears. The caret is where you would expect it in insert mode.

To mark something to be deleted mark it in visual mode and press
D.  "<del>...</del>" appears around it.

For convenience R (replace) in visual mode is bound to D<F5>.
 
install details
simply source it, when you need it.
or do an :au binding
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
delins.vim 0.1 2006-03-18 6.0 Mirko Scholz Initial upload
ip used for rating: 18.217.203.172

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github