Add ToggleSexyComments flag to enable sexy comments while toggling#324
Add ToggleSexyComments flag to enable sexy comments while toggling#324mayanksha wants to merge 3 commits intopreservim:masterfrom
Conversation
|
Hey @mayanksha and thanks for the contribution! Off the top of my head this look good, but I"ll test it to make sure it works when I get a chance before merging. In the mean time would you be able to add documentation for this feature to the internal vim docs file? I see you added to the README which is great, but having this documented in vim's internal help system would also be good. |
|
Hi @alerque ! I surely will update the vim documentation. I have also missed out on some edge cases which need to be handled, like the nested sexy comments. I will address them in the next commit. I am having my exams presently, so it might take a week or so before I push another commit. Thanks! |
|
Sure no worries @mayanksha, this will be here until it's ready. |
|
@mayanksha Hope your exams went well! Could you make any progress on this? Meanwhile it looks like some merge conflicts occured. |
can be mapped to a single key to have even better commenting.
|
Waiting for this feature. |
Add a flag named "ToggleSexyComments" to use Sexy Comments while toggling.
This is especially useful for people who instead of using a leader key combination to comment, have a 'c' (or some else) key mapped to toggle comments on the selected line(s).
P.S. I am new to open-source and this is my first pull request. Please correct me wherever I'm wrong whether I've violated any style-guide to be followed.