Question about Vizhub Vim mode~!

Hello,

I want to use Vim mode in Vizhub but the problem is that I can’t find the keyboard shortcut for commenting out code lines.
The usual keyboard shortcut ‘Ctrl(Cmd) + /’ does not seem to work in Vim mode.

On my local computer, I use ‘vim-commentary’ plugin to comment multiple lines but of course the plugin shortcut does not work here either.

Is there a way to get multi-line comments in Vim mode of Vizhub?

By the way, I know that entering into Visual mode with “Ctrl v” and hitting up/down key multiple times to manually add “//” infront of all the included lines can be a solution.

But I just want to know if there is just a short cut that toggles comment on and off.

Indeed, this is what I do. Adding Vim plugins to the Vim mode is too complex I fear.

I’m not sure how many people are actually using Vim mode, and am considering upgrading the editor panel from CodeMirror v5 (which has the Vim mode plugin) to CodeMirror v6 (which has no Vim mode plugin, but is a more modern and better overall code editor - especially for mobile).

Oh okay. It is fine without the plugins because Vim is great in its vanilla state already. I asked just in case.

I’ve been really enjoying the Vim mode. It would be a tiny bit bummer if it goes away :frowning:

In fact, not having all those auto-completion and keyword suggestion popups that are provided by some other editors is kind of helpful and fun.

That’s why personally, I am perfectly happy with the way the Vizhub editor is right now.

But, I guess an upgrade would also help many others and it might turn out great for me as well so…

Just wanna say, thanks for all the wonderful tools, course and care.

Thank you!

  • Minwoo from South Korea

Thank you @minwoopak! It’s great to understand your position.

And to be clear - I love the Vim mode and use it myself all the time. The ideal future scenario is one where we can use CodeMirror 6 and still keep Vim mode. I’m tracking this CodeMirror 6 GitHub Issue: Vim Mode and would love to get that working.

All the best!