-
-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Labels
Description
I have switched from vim-commentary by tpope.
Motivation:
This plugin has native treesitter support for calculating commentstring which works for multiple (injected/embedded) languages like Vue or Markdown.
I miss the possibility to repeat 10gcc with the dot ..
I have found following comment
toggle_current_linewise_opis dot-repeatable whereastoggle_linewise_countis not.
Is it possible to make toggle_linewise_count dot-repeatable as well?
In particular, at the moment the buffer is changed in a suprising way:
hello
world
hello
world
Press on first line 2gcc and then move to third line to press ., you get:
/* hello */
/* world */
ello
world
A line is inserted and a character is removed. This does not feel like it is intended. vim-commentary handles this flawlessly:
/* hello */
/* world */
/* hello */
/* world */