Bind display-line-numbers-mode to a pers-map key

This commit is contained in:
Gergely Polonkai 2018-11-19 13:03:14 +01:00
parent 1787aca026
commit 58da43d685
1 changed files with 11 additions and 0 deletions

View File

@ -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 dont 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