tpope / vim-repeat

repeat.vim: enable repeating supported plugin maps with "."
http://www.vim.org/scripts/script.php?script_id=2136
2.58k stars 81 forks source link

Doc improvement suggestion #62

Open adrianmay opened 6 years ago

adrianmay commented 6 years ago

I don't understand what: silent! call repeat#set("\MyWonderfulMap", v:count) means. Am I supposed to replace \<Plug> and/or MyWonderfulMap with something else, and if so what? I tried: silent! call repeat#set("surround", v:count) but it had no effect.

LandonSchropp commented 5 years ago

Thanks for making this plugin!

I'd like to add that an explanation of the two parameters that the repeat#set function takes would be helpful. I looked at the source code for a couple of the plugins mentioned in the readme and it wasn't clear how they related to the documentation mentioned above.

LandonSchropp commented 5 years ago

I found the documentation in the source code: https://github.com/tpope/vim-repeat/blob/master/autoload/repeat.vim#L19-L45