Search code examples
vimintellij-ideapycharmideavim

How to break a long line in IdeaVim


I'd like to be able to break lines longer than 100 characters into multiple lines of less than 100 characters in IntelliJ IdeaVim. The Vim solution in vim command to restructure/force text to 80 columns doesn't work.


Solution

  • It's not implemented in IdeaVim yet. Feel free to vote for https://youtrack.jetbrains.com/issue/VIM-1310 about :set textwidth and https://youtrack.jetbrains.com/issue/VIM-186 about gq to re-wrap comments.