sponsor Vim development Vim logo Vim Book Ad

operator-replace : Operator to replace text with register content

 script karma  Rating 20/7, Downloaded by 2030  Comments, bugs, improvements  Vim wiki

created by
Kana Natsuno
script type
*operator-replace* is a Vim plugin to provide an operator to replace
a specified text with register content.  This is shortcut for several types of
operations such as "d{motion}P" and "c{motion}<C-r>{register}".

- Vim 7.2 or later
- |operator-user| 0.0.5 or later (vimscript#2692)

Latest version:

in HTML format:
install details

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
vim-operator-replace-0.0.3.zip 0.0.3 2012-11-29 7.0 Kana Natsuno - Fix to correctly handle empty region.  For example, |<Plug>(operator-replace)| with |it| on text such as "<div></div>" did not work correctly.
vim-operator-replace-0.0.1.zip 0.0.1 2009-09-15 7.0 Kana Natsuno - Fix edge case bugs.  Now replaacing at the end of line or the end of buffer work as you expect.
vim-operator-replace-0.0.0.zip 0.0.0 2009-09-10 7.0 Kana Natsuno Initial upload
ip used for rating:

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