-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gq #648
Comments
Yes, it's based off of the I'm struggling to remember the difference between |
How could there be gqq? The first two letters would trigger gq immediately, On Thu, Aug 25, 2016 at 2:14 AM, Aiden Scandella notifications@github.com
Grant |
I think it's whether you have a selection or not. In normal mode, hitting
|
Whoa, interesting. I've never done gq outside of visual mode. On Thu, Aug 25, 2016 at 2:29 AM, Aiden Scandella notifications@github.com
Grant |
A big +1 for this. Since the VSCode Python plugin does not reflow the paragraphs in comments and docstrings, this command can be enormously helpful for working on code with large chunks of textual documentation in docstrings, like NumPy, SciPy, and SymPy. |
This one is annoying because you have to handle like 77 different commenting styles... |
@johnfn Yes indeed, a full-fledged comment formatter would be too heavy here. Maybe that should better be reserved for a code formatter like yapf. In vim, it seems that just the Personally for me, the best thing about the vim |
Coming soon... |
And it's done! Feel free to leave feedback here. I know there'a bajillion different commenting styles; they should mostly be trivial to add if in a PR (get those open source karma points! 😉 ), or you can just nag me. |
Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.
gq is actually one of my favorite Vim features - it autoformats blocks of text, including comments, to be at most 80 characters long. (I think it may be a setting?) I actually started to forget about it since few Vim emulations do it correctly. That shouldn't stop us!! 😉
The text was updated successfully, but these errors were encountered: