diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-10-17 12:06:37 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-10-17 12:06:37 -0500 |
| commit | 8bb80d01d5c3523efe47807cd20006aecb5f47c9 (patch) | |
| tree | f00106e0dd0c71d987aa33f731618a6131aa7702 | |
| parent | 05649535b314b363e1614dcdc5115702603f172f (diff) | |
| -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 |
