aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-16 13:37:51 +0200
committerAdrian Kummerlaender2020-06-16 13:37:51 +0200
commit3987368d94bbc4b29ecc35b00f34cc049fa8b7d7 (patch)
tree678275c93c10b9e70a28101a5fa3a18a5d48fa27
parentb9a4a52c3da83814ca21b9126c732b0c2de8fc1d (diff)
downloadnixos_home-3987368d94bbc4b29ecc35b00f34cc049fa8b7d7.tar
nixos_home-3987368d94bbc4b29ecc35b00f34cc049fa8b7d7.tar.gz
nixos_home-3987368d94bbc4b29ecc35b00f34cc049fa8b7d7.tar.bz2
nixos_home-3987368d94bbc4b29ecc35b00f34cc049fa8b7d7.tar.lz
nixos_home-3987368d94bbc4b29ecc35b00f34cc049fa8b7d7.tar.xz
nixos_home-3987368d94bbc4b29ecc35b00f34cc049fa8b7d7.tar.zst
nixos_home-3987368d94bbc4b29ecc35b00f34cc049fa8b7d7.zip
Use emacs-provided line number display
-rw-r--r--gui/conf/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 16dfe09..3aeba4f 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -16,8 +16,6 @@
(tool-bar-mode -1)
(global-visual-line-mode t)
-(add-hook 'prog-mode-hook 'linum-mode)
-
(setq mouse-wheel-scroll-amount '(5))
(setq mouse-wheel-progressive-speed nil)
(setq fast-but-imprecise-scrolling t)
@@ -28,10 +26,13 @@
jit-lock-stealth-nice 0.5)
(setq-default font-lock-multiline t)
+(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq-default c-basic-offset 2)
(setq-default python-indent-offset 4)
+(add-hook 'prog-mode-hook 'display-line-numbers-mode)
+
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)