From 3987368d94bbc4b29ecc35b00f34cc049fa8b7d7 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 16 Jun 2020 13:37:51 +0200 Subject: Use emacs-provided line number display --- gui/conf/init.el | 5 +++-- 1 file 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) -- cgit v1.2.3