Switch from global-display-line-numbers-mode to only in prog-mode
This commit is contained in:
parent
1ab1147e2f
commit
ddb0d9ba6b
|
@ -169,12 +169,14 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
|
||||||
truncate-partial-width-windows nil)
|
truncate-partial-width-windows nil)
|
||||||
|
|
||||||
(menu-bar-mode +1)
|
(menu-bar-mode +1)
|
||||||
(global-display-line-numbers-mode +1)
|
|
||||||
(global-prettify-symbols-mode +1)
|
(global-prettify-symbols-mode +1)
|
||||||
|
(global-display-line-numbers-mode -1)
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
(tab-bar-mode -1)
|
(tab-bar-mode -1)
|
||||||
|
|
||||||
|
(add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1)))
|
||||||
|
|
||||||
(use-package word-wrap-mode
|
(use-package word-wrap-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:diminish
|
:diminish
|
||||||
|
|
Loading…
Reference in a new issue