summaryrefslogtreecommitdiff
path: root/start/repeat/README.markdown
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-05-22 22:47:23 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-05-22 22:47:23 +0100
commit95aea6b533e71e478d61d18fac71cca116c56a4d (patch)
tree1a1f42f723772258cc54551495826768f374474a /start/repeat/README.markdown
Add all the plugins I currently use
Diffstat (limited to 'start/repeat/README.markdown')
-rw-r--r--start/repeat/README.markdown47
1 files changed, 47 insertions, 0 deletions
diff --git a/start/repeat/README.markdown b/start/repeat/README.markdown
new file mode 100644
index 0000000..f8b4469
--- /dev/null
+++ b/start/repeat/README.markdown
@@ -0,0 +1,47 @@
+# repeat.vim
+
+If you've ever tried using the `.` command after a plugin map, you were
+likely disappointed to discover it only repeated the last native command
+inside that map, rather than the map as a whole. That disappointment
+ends today. Repeat.vim remaps `.` in a way that plugins can tap into
+it.
+
+The following plugins support repeat.vim:
+
+* [surround.vim](https://github.com/tpope/vim-surround)
+* [speeddating.vim](https://github.com/tpope/vim-speeddating)
+* [unimpaired.vim](https://github.com/tpope/vim-unimpaired)
+* [vim-easyclip](https://github.com/svermeulen/vim-easyclip)
+
+Adding support to a plugin is generally as simple as the following
+command at the end of your map functions.
+
+ silent! call repeat#set("\<Plug>MyWonderfulMap", v:count)
+
+## Installation
+
+Install using your favorite package manager, or use Vim's built-in package
+support:
+
+ mkdir -p ~/.vim/pack/tpope/start
+ cd ~/.vim/pack/tpope/start
+ git clone https://tpope.io/vim/repeat.git
+
+## Contributing
+
+See the contribution guidelines for
+[pathogen.vim](https://github.com/tpope/vim-pathogen#readme).
+
+## Self-Promotion
+
+Like repeat.vim? Follow the repository on
+[GitHub](https://github.com/tpope/vim-repeat) and vote for it on
+[vim.org](http://www.vim.org/scripts/script.php?script_id=2136). And if
+you're feeling especially charitable, follow [tpope](http://tpo.pe/) on
+[Twitter](http://twitter.com/tpope) and
+[GitHub](https://github.com/tpope).
+
+## License
+
+Copyright (c) Tim Pope. Distributed under the same terms as Vim itself.
+See `:help license`.