Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpope/vim-repeat
repeat.vim: enable repeating supported plugin maps with "."
https://github.com/tpope/vim-repeat
Last synced: 30 days ago
JSON representation
repeat.vim: enable repeating supported plugin maps with "."
- Host: GitHub
- URL: https://github.com/tpope/vim-repeat
- Owner: tpope
- Created: 2009-12-13T19:07:14.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T21:28:41.000Z (4 months ago)
- Last Synced: 2024-10-01T19:04:10.439Z (about 1 month ago)
- Language: Vim Script
- Homepage: http://www.vim.org/scripts/script.php?script_id=2136
- Size: 35.2 KB
- Stars: 2,605
- Watchers: 30
- Forks: 81
- Open Issues: 24
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# 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)
* [vim-radical](https://github.com/glts/vim-radical)Adding support to a plugin is generally as simple as the following
command at the end of your map functions.silent! call repeat#set("\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`.