Browse Source

only show line numbers in programming modes

master
Fr3deric 5 years ago
parent
commit
49979c2295
  1. 1
      README.md
  2. 2
      init.el

1
README.md

@ -19,7 +19,6 @@ This is an attempt to learn about Emacs and its ecosystem by creating a custom c @@ -19,7 +19,6 @@ This is an attempt to learn about Emacs and its ecosystem by creating a custom c
* make `C-x` (and others) accessible via `SPC x`
* disable welcome buffer (or put something funnt there)
* themed right-click menus
* disable line numbers in treemacs buffer
* update diff-hl after committing things with magit
* enable which-key completions and ido in dired-mode

2
init.el

@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
(setq column-number-mode t)
;; display line numbers on the left
(global-display-line-numbers-mode)
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
;; indicate changed lines in version-controlled files
(global-diff-hl-mode)

Loading…
Cancel
Save