vim-commentary icon indicating copy to clipboard operation
vim-commentary copied to clipboard

commentary.vim: comment stuff out

Results 32 vim-commentary issues
Sort by recently updated
recently updated
newest added

If I have an "empty" comment line inside a visual block, `gc` eats the space preceding `%s` in my `commentstring` (or `b:commentary_format`). I've captured this [in a gist](https://gist.github.com/dvogel/8ebf7020d4ee8e709e6034f6aef5f024) but, I...

Is it possible to configure commentary to use `//` or `/**/` inside `` tags in html files and `` elsewhere? If so, it'd be nice to have this kind of...

I do not want to use g c to comment, so I added an option to disable the default keymaps

When uncommenting a block of lines without a space prefix, the uncommented lines with that space keep them, instead of removing them. This is similar to #77 --- Example Input:...

Hey. I am quite new to vimscript. I found this while I was implementing my own. As I was going through the codebase. I found [these lines](https://github.com/tpope/vim-commentary/blob/master/plugin/commentary.vim#L55-L64) quite intriguing. My...

This plugin (for evil mode in emacs), is inspired by vim-commentary: [evil-commentary](https://github.com/linktohack/evil-commentary) Maybe it would be good to have a circle of inspiration and implement the extra features `evil-commentary` adds:...

TL;DR videos: [first](https://youtu.be/Cl6iN7djN7M) and [second](https://youtu.be/0Hb8Zzo1fOs) Suppose we have C/C++ code like this, cursor on 'int x = 1' and doing motion like 'gcd' to comment two strings. ``` int main(int...

Given an ML-like language with `commentstring=(*%s*)`, taking the valid program: ``` (**) val x = ( 1) ``` and selecting it all and commenting with `gc` gives: ``` (*(**)*) (*val...

and i have idea why. :verbose omap _ -> No mapping found where can i start looking?

1. Select some text visually 2. Move a round and use the text object `dgc`, `ygc`, `>gc` 3. Type `gv` will select the text-object in step 2. If I use...