Replies: 1 comment 1 reply
-
I agree, which is why I use Wrap to Column Plugin for JetBrains IDEs | JetBrains Marketplace and I have this in my " For formatting, especially comments
" Depends on https://plugins.jetbrains.com/plugin/7234-wrap-to-column/
" NOTE: vnoremap doesn't work with Actions
vmap gq <Action>(com.andrewbrookins.idea.wrap.WrapAction) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Traditionally
gq
is used in standard Vim to reformat lines by enforcing thetextwidth
setting, i.e it breaks and reflows lines to fit within thetextwidth
. However, it seems that in IdeaVim,gq
calls IntelliJ's built-in "Format code" feature. Is that really consistent with the standard Vim behavior?For reference, here's the Vim documentation:
Beta Was this translation helpful? Give feedback.
All reactions