From 58da43d685fc485156b3ab62186c9a2344567917 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 19 Nov 2018 13:03:14 +0100 Subject: [PATCH] Bind display-line-numbers-mode to a pers-map key --- configuration.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configuration.org b/configuration.org index 4510556..1b95cd1 100644 --- a/configuration.org +++ b/configuration.org @@ -1390,6 +1390,17 @@ By default, it closes a bunch of unused buffers. I might add some more things t (midnight-mode t)) #+END_SRC +** Show line numbers + +I don’t usually like to see them, but there are occasions when they can be useful. + +#+BEGIN_SRC emacs-lisp +(use-package display-line-numbers + :bind + (:map gpolonkai/pers-map + ("C-n" . display-line-numbers-mode))) +#+END_SRC + * ~use-package~ packages ** Automatically upgrade packages every week