How to remove newline characters inside emacs vertical border

I like adaptive-wrap-prefix-modethat it makes soft carrying whenever you overcome the width of the window, beautifully formatting the text in the next line with an unreal ("soft") indent.

But there is one problem with this. Whenever this happens, emacs draws a โ€œnew lineโ€ character on either side of its vertical line, and these characters really draw my attention to these lines, defeating the whole purpose of adaptive wrapping (so as not to disturb the visual indentation of the code by long lines).) .

Question: how to remove these characters left and right?

+4
source share
2 answers
(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
      )

" ", , , .

+4

: . :

(fringe-mode '(0 . 0))
+2

Source: https://habr.com/ru/post/1570495/


All Articles