caw.vim icon indicating copy to clipboard operation
caw.vim copied to clipboard

can it provide functions like NERDCommenterSexy and NERDCommenterToEOL?

Open Freed-Wu opened this issue 5 years ago • 1 comments

i have noticed this plugin has many good functions which vim-commentary, nerdcomment don't have. but the function NERDCommenterSexy and NERDCommenterToEOL don't look like provided. like

/*
 * int main(int argc, char *argv[])
 * {
 *         int x=1;int x=2;
 *         return 0;
 * }
 */

and

int main(int argc, char *argv[])
{
        int x=1;// int x=2;
        return 0;
}

the cursor's postion is at the 1st ';' of the 3th line.

it is an enhancement. Thanks!

Freed-Wu avatar Mar 17 '20 05:03 Freed-Wu

NERDCommenterToEOL is same as #43 behavior? NERDCommenterSexy seems interesting. I'll add the feature.

tyru avatar Mar 24 '20 21:03 tyru

Close this issue due to inactivity.

PS: https://github.com/numToStr/Comment.nvim provides similar hotkeys like caw.vim. I'll take a look.

Freed-Wu avatar Oct 05 '23 15:10 Freed-Wu