-
I have been using Rider with IdeaVim for a while, but suddenly after an update, my repeat command vim scripts is not functioning. I tested the same script in PyCharm and it works fine. I don't know where is the problem.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
AFAIK, nothing has changed from the Vim Script perspective, and it seems to be an issue with action execution in the IDE. I've created a ticket to investigate this issue: https://youtrack.jetbrains.com/issue/VIM-3229/Repeat-Comments-Vim-Scripts-Not-Working-with-Rider. IdeaVim supports the Commentary plugin, as detailed here: https://github.com/JetBrains/ideavim/wiki/IdeaVim-Plugins#commentary. Will this be sufficient for your needs? P.S. There is no need to pass action CommentByLineComment to the execute command; action is already a Vim command. |
Beta Was this translation helpful? Give feedback.
AFAIK, nothing has changed from the Vim Script perspective, and it seems to be an issue with action execution in the IDE. I've created a ticket to investigate this issue: https://youtrack.jetbrains.com/issue/VIM-3229/Repeat-Comments-Vim-Scripts-Not-Working-with-Rider.
IdeaVim supports the Commentary plugin, as detailed here: https://github.com/JetBrains/ideavim/wiki/IdeaVim-Plugins#commentary. Will this be sufficient for your needs?
P.S. There is no need to pass action CommentByLineComment to the execute command; action is already a Vim command.
P.P.S. The CommentByLineComment action works with selections. You could select total lines and then execute the action once.