How do I remove newline symbols inside emacs vertical border

1.5k Views Asked by At

I love adaptive-wrap-prefix-mode, which makes a soft-wrap whenever you overcome your window width, nicely formatting text in next line with a non-real ("soft") indentation.

But there is one problem with it. Whenever this happens -- emacs draws a "newline" symbol on both sides of it's vertical line, and those symbols do take my attention to those lines, defeating the whole purpose of adaptive-wrap (to not break visual indentation of code with long lines).

Question is: how do I remove those symbols on left and right?

2

There are 2 best solutions below

3
On BEST ANSWER
(setf (cdr (assq 'continuation fringe-indicator-alist))
      '(nil nil) ;; no continuation indicators
      ;; '(nil right-curly-arrow) ;; right indicator only
      ;; '(left-curly-arrow nil) ;; left indicator only
      ;; '(left-curly-arrow right-curly-arrow) ;; default
      )

I suggest trying "right indicator only", as I suspect it's only the left side which is drawing your attention, and this way you will still have the information available.

0
On

The simplest solution: just don't show the fringe. Put this in your init file:

(fringe-mode '(0 . 0))