Skip to content

Instantly share code, notes, and snippets.

@DanielG
Created April 3, 2019 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielG/346898d9cbc136885a5dc3e099fcf950 to your computer and use it in GitHub Desktop.
Save DanielG/346898d9cbc136885a5dc3e099fcf950 to your computer and use it in GitHub Desktop.
(setq-default
visual-line-fringe-indicators
'(left-curly-arrow right-curly-arrow))
(define-minor-mode dxld-visual-line-mode
(if dxld-visual-line-mode
(progn
(visual-line-mode -1)
(adaptive-wrap-prefix-mode -1)
)
(visual-line-mode 1)
(adaptive-wrap-prefix-mode 1)
)
)
;; you can set adaptive-wrap-extra-indent to indent the continuation line a bit
;; more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment