purcell / emacs.d

An Emacs configuration bundle with batteries included
BSD 2-Clause "Simplified" License
6.84k stars 2.05k forks source link

How to disable fill-column-indicator #788

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hello when in a buffer M-x global-display-fill-column-indicator-mode removes the indicator. I want it removed for good. I put in my config (global-display-fill-column-indicator-mode -1) does not work (global-display-fill-column-indicator-mode nil) does not work

image

I am talking about the doted lines in the middle

Thanks for your time

Eason0210 commented 2 years ago

@wereket you can try set (setq-default display-fill-column-indicator-character "") to get the same result you need.

or you can directly change this at line 103 in the lisp/init-editing-utils.el file .

purcell commented 2 years ago

I don't enable it globally. Rather, it is enabled explicitly in prog-mode by this code. You can remove that code in your fork if you like.