summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs-init.el7
-rw-r--r--home-configuration.scm6
2 files changed, 8 insertions, 5 deletions
diff --git a/emacs-init.el b/emacs-init.el
index fe4dab87..2f4d1140 100644
--- a/emacs-init.el
+++ b/emacs-init.el
@@ -134,8 +134,11 @@
:after (evil)
:bind (("<leader>tR" . rainbow-mode)))
-(use-package linum
- :hook prog-mode)
+(use-package display-line-numbers
+ ;; Included in Emacs >= 26. Better than `linum-mode'.
+ ;; There is also `global-display-line-numbers-mode', but that also
+ ;; enables line numbers in help windows, which I don't want.
+ :hook (prog-mode conf-mode))
(use-package which-key
:commands (which-key-mode) :demand t
diff --git a/home-configuration.scm b/home-configuration.scm
index 5500e7f3..c6421313 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -102,9 +102,9 @@ replacement spec (to which `regexp-substitute/global' is applied)."
"acpilight" "arandr" "blueman" "dunst" "gnupg" "gimp" "hsetroot"
"inkscape" "icecat" "kdeconnect" "libreoffice" "mpv" "nheko"
"password-store" "pass-otp" "polybar" "rofi" "rofi-calc" "signal-desktop"
- "simple-scan" "xdg-utils" "xdot" "xclip" "xdotool" "xdpyinfo" "xev" "xfd"
- "xfontsel" "xinput" "xkill" "xprop" "xrandr" "xrdb" "xsel" "xset" "xwininfo"
- "zoom" "zathura" "zathura-ps" "zathura-pdf-poppler"
+ "simple-scan" "transmission-remote-gtk" "xdg-utils" "xdot" "xclip" "xdotool"
+ "xdpyinfo" "xev" "xfd" "xfontsel" "xinput" "xkill" "xprop" "xrandr" "xrdb"
+ "xsel" "xset" "xwininfo" "zoom" "zathura" "zathura-ps" "zathura-pdf-poppler"
"dconf" "dconf-editor" ; required for config by blueman, cozy, ...
;; "gnome-keyring" ; installed system-wide; see system-configuration.scm
;; "geoclue" ; for redshift -- installed system-wide