Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.57 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.57 KB


Vim plugin to replace text with registers


Topics:


Introduction

Paste-Replace provides new operators to replace text objects with register contents in vim. In other words, it makes it much easier to replace text with another text you had copied. Like any default vim operator, they can be preceded by a count and followed by any motion or operator-pending mode command. Also, if you happen to use a plugin that adds custom text objects, like targets, or custom motions like easymotion, Paste-Replace will be compatible with it. The two replace operators are cr (replace with system clipboard) and yr (replace with last yanked text), and there is also cy, that copies to the system clipboard.


Installation

Plug 'kauer3/paste-replace.vim'
Plugin 'kauer3/paste-replace.vim'
NeoBundle 'kauer3/paste-replace.vim'
git clone https://github.com/kauer3/paste-replace.vim ~/.vim/bundle/paste-replace.vim

Documentation

To access Paste-Replace documentation, in Vim command mode, enter:

:help paste-replace