Skip to content

Instantly share code, notes, and snippets.

@sasq64
Last active June 17, 2022 14:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sasq64/798571395723e69906b3dd8cab00b55f to your computer and use it in GitHub Desktop.
Save sasq64/798571395723e69906b3dd8cab00b55f to your computer and use it in GitHub Desktop.

IntelliJ / Android Studio / CLion

Editor > General > Soft Wraps

  • Soft-wrap files: Change to * (or add *.java, *.cpp etc)
  • Check "Use original line's indent for wrapped parts"

Vim

  • Edit .vimrc
set bri

Visual Studio Code

  • Editor: Word Wrap on
  • Editor: Wrapping Indent same
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment