Sunday, August 21, 2016

how to make the dot command repeat the command in the plugin ?

We know that dot command repeat the last command that you exec in the vim

like 'dd' or 'yy'

But I use <leader>cc to comment current line code in Vim, but the dot cmd can't repeat it.

Is there a way to repeat the comment line plugin cmd ?

for example I just type <leader>cc in Vim and move to another line I want use dot to comment the new current line

How can I make it?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: