Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

replacepaste.vim: operator for replacing a motion with the currently yanked text

Notifications You must be signed in to change notification settings

davidtwco/vim-replace-paste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

vim-replace-paste

Operator to replace a motion with the currently yanked text.

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/davidtwco/vim-replace-paste.git

Usage

replacepaste.vim can be used to replace a motion with the currently yanked text. For example, if the yank register contains Hello, world then running <leader>sit inside

<p>This is example text.</p>

will change it to

<p>Hello, world.</p>

You can replace it with any motion.

License

Copyright © David Wood. Distributed under the same terms as Vim itself. See :help license.

About

replacepaste.vim: operator for replacing a motion with the currently yanked text

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published