vim-repeat 0,2,0,0,1

repeat.vim: enable repeating supported plugin maps with "."

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:

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

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/tpope/vim-repeat.git

Contributing

See the contribution guidelines for pathogen.vim.

Self-Promotion

Like repeat.vim? Follow the repository on GitHub and vote for it on vim.org. And if you’re feeling especially charitable, follow tpope on Twitter and GitHub.

License

Copyright © Tim Pope. Distributed under the same terms as Vim itself. See :help license.

Related Repositories

vim-repeat

vim-repeat

repeat.vim: enable repeating supported plugin maps with "." ...

lexima.vim

lexima.vim

Auto close parentheses and repeat by dot dot dot... ...

vim-g-dot

vim-g-dot

Vim command to repeat last change over a number of lines ...

repmo.vim

repmo.vim

repeat motions for which a count was given ...


Top Contributors

tpope inkarkat AndrewRadev wellle Konfekt orlp wilywampa jasonkuhrt justinmk xaizek

Releases

-   v1.1 zip tar
-   v1.0 zip tar