lutobler / vis-commentary

Vis plugin for easy block commenting
MIT License
16 stars 5 forks source link

Support for motions and text objects #12

Open rkdals opened 2 years ago

rkdals commented 2 years ago

Hi, thanks for your work on the plugin.

Although it's clearly outlined in the README that intended usage is for NORMAL and VISUAL modes, it'd be nice if vis-commentary could support motions and operator pending mode as does @tpope's original vim-commentary (e.g. gcip to comment out a paragraph, gc3k to comment out 3 lines, etc.).

lutobler commented 2 years ago

I agree this would be a nice thing to add, but since I don't use Vis myself that much anymore, I'm not sure I want to do this myself. If you (or anyone) would add this, I would accept pull requests gladly.