[Emacs] Add line numbers to kat-mode

This commit is contained in:
Kat Huang 2023-08-29 16:33:25 -06:00
parent 96b2252a9f
commit 65230bff19

View File

@ -132,3 +132,9 @@ This makes evil-mode play nice with org-fc
#+begin_src emacs-lisp
(auto-save-visited-mode +1)
#+end_src
* Display line numbers in programming modes
#+begin_src emacs-lisp
(defun imalison:enable-display-line-numbers-mode ()
(display-line-numbers-mode +1))
(add-hook 'prog-mode-hook 'imalison:enable-display-line-numbers-mode)
#+end_src