all repos — nixfiles @ 9571aa431d05971bba9899fd404c2f420f490605

System and user configuration, managed by nix and home-manager

Revert "Emacs: remove relative-buffers"

This reverts commit 34e6a0cc0ce0103a2ee01edd2421c415af28be4a.

This isn't only used in the modeline, but also for buffer-selection
Alan Pearce alan@alanpearce.eu
Tue, 10 Dec 2019 14:03:45 +0100
commit

9571aa431d05971bba9899fd404c2f420f490605

parent

581d41b82efbd534eba36a7906078361ee6d3f85

2 files changed, 7 insertions(+), 0 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -151,6 +151,12 @@ :config (progn             (which-key-mode +1)
             (which-key-setup-side-window-right-bottom)))
 
+;;; Modeline
+
+(use-package relative-buffers
+  :defer 2
+  :custom ((global-relative-buffers-mode t)))
+
 ;;; Minibuffer
 
 (setq enable-recursive-minibuffers t
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -152,6 +152,7 @@ projectile       projectile-ripgrep
       quickrun
       rainbow-mode
+      relative-buffers
       restclient
       ripgrep
       rjsx-mode