aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-22 22:16:07 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-22 22:16:07 +1200
commit172fbc5f7e346c26c3cc64335de1e33347f79058 (patch)
treeca708bc0a32651ee3d400e819fbcd21dd30247f9 /doc
downloadvim-replace-operator-172fbc5f7e346c26c3cc64335de1e33347f79058.tar.gz
vim-replace-operator-172fbc5f7e346c26c3cc64335de1e33347f79058.zip
First versionv0.1.0
Diffstat (limited to 'doc')
-rw-r--r--doc/replace_operator.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/replace_operator.txt b/doc/replace_operator.txt
new file mode 100644
index 0000000..d8e6e18
--- /dev/null
+++ b/doc/replace_operator.txt
@@ -0,0 +1,35 @@
+*replace_operator.txt* For Vim version 7.0 Last change: 2018 Aug 22
+
+DESCRIPTION *replace_operator*
+
+This plugin provides normal and visual mode mapping targets to replace the
+text bounded by a motion with the contents of a register, by default the
+unnamed register.
+
+This allows you, for example, to select a set of lines and replace any other
+set of lines with it in one repeatable operation. The text you replace stacks
+up in the numbered registers as normal, if you do end up needing it back.
+
+REQUIREMENTS *replace_operator-requirements*
+
+This plugin only loads if 'compatible' is not set.
+
+MAPPINGS *replace_operator-mappings*
+
+ *<Plug>(RepeatOperator)*
+The normal and visual mode mapping targets are both named
+|<Plug>(RepeatOperator)|. There is no default key mapping; you should define
+one yourself in your |vimrc|. For example:
+>
+ nmap <Leader>r <Plug>(ReplaceOperator)
+ xmap <Leader>r <Plug>(ReplaceOperator)
+<
+AUTHOR *replace_operator-author*
+
+Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
+
+LICENSE *replace_operator-license*
+
+Licensed for distribution under the same terms as Vim itself (see |license|).
+
+ vim:tw=78:ts=8:ft=help:norl: