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
* make `C-x` (and others) accessible via `SPC x` * make `C-x` (and others) accessible via `SPC x`
* disable welcome buffer (or put something funnt there) * disable welcome buffer (or put something funnt there)
* themed right-click menus * themed right-click menus
* disable line numbers in treemacs buffer
* update diff-hl after committing things with magit * update diff-hl after committing things with magit
* enable which-key completions and ido in dired-mode * enable which-key completions and ido in dired-mode

2
init.el

@ -36,7 +36,7 @@
(setq column-number-mode t) (setq column-number-mode t)
;; display line numbers on the left ;; 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 ;; indicate changed lines in version-controlled files
(global-diff-hl-mode) (global-diff-hl-mode)

Loading…
Cancel
Save