vim-repeat

repository·master·Indexed 25 days ago

https://github.com/tpope/vim-repeat

A Vim plugin that enhances the `.` (dot) command, allowing it to repeat complex plugin mappings instead of just the last native command. It provides the `repeat#set()` function for plugin authors to make their mappings repeatable.

Tokens
250
Snippets
1
Records
3
Agent score
33%

What's inside vim-repeat

  1. Overview of repeat.vim

    master

    By default, the Vim . command only repeats the last native command inside a plugin map. repeat.vim remaps . so that plugins can tap into it, allowing the entire map (rather than just the last native command) to be repeated.

    Supported plugins include:

    • surround.vim
    • speeddating.vim
    • unimpaired.vim
    • vim-easyclip
    • vim-radical
  2. Install repeat.vim

    master

    You can install repeat.vim using your favorite Vim package manager or by using Vim's built-in package support. To install manually via git, create the necessary directory structure in your ~/.vim/pack folder and clone the repository.

    mkdir -p ~/.vim/pack/tpope/start
    cd ~/.vim/pack/tpope/start
    git clone https://tpope.io/vim/repeat.git