diff options
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/.config/emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index b616a02..815788f 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el @@ -1,5 +1,11 @@ ;;; init.el --- Emacs configuration -*- lexical-binding: t; -*- +;; Show line numbers (current absolute, other relative) +(setq display-line-numbers-type 'relative) +(global-display-line-numbers-mode 1) +(set-face-attribute 'line-number-current-line nil + :weight 'bold) + ;; Keep recovery files out of projects and the configuration directory. (let* ((xdg-state (getenv "XDG_STATE_HOME")) (state-dir |
