marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Support `gc` vim motion for toggling comments

Open TheJolman opened this issue 7 months ago • 1 comments

Description

Hi guys, modern version of Neovim and at least a few Vim emulators (VSCode Vim for example) now support the very convenient gc motion for toggling comments.

Suggested solution

  • gcc for just the current line
  • gc2j for the current line and two extra lines below
  • etc.

Alternative

No response

Additional context

No response

TheJolman avatar Apr 24 '25 19:04 TheJolman

hi @TheJolman, it might be better to have this supported upstream https://github.com/replit/codemirror-vim/. do you mind also filing the issue there?

mscolnick avatar Apr 24 '25 19:04 mscolnick