From 1ef51c8468872b70eea8335a8166b64711c9fe98 Mon Sep 17 00:00:00 2001 From: mattkae Date: Wed, 14 Dec 2022 19:03:21 -0500 Subject: Much improved performance and disabling the minimap --- lisp/general.el | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'lisp') diff --git a/lisp/general.el b/lisp/general.el index ec3db4b..901e132 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -21,11 +21,6 @@ (tool-bar-mode -1) (setq mac-shift-modifier 'meta) -;; Scroll -(pixel-scroll-mode 1) -(setq scroll-preserve-screen-position 1) -(setq scroll-conservatively 100) - ;; Tab mode (global-tab-line-mode t) @@ -65,14 +60,16 @@ (setq isearch-lazy-count t) ;; Minimap -(require 'minimap) -(minimap-mode 1) -(setq-default minimap-window-location "right") -(setq-default minimap-highlight-line 1) -(setq-default minimap-update-delay 0.5) -(setq-default minimap-hide-fringes 1) -(setq-default minimap-width-fraction 0.05) -(setq-default minimap-dedicated-window 1) +(defun my-minimap() + "Turn on the minimap." + (require 'minimap) + (minimap-mode 1) + (setq-default minimap-window-location "right") + (setq-default minimap-highlight-line 1) + (setq-default minimap-update-delay 0.5) + (setq-default minimap-hide-fringes 1) + (setq-default minimap-width-fraction 0.05) + ) ;; Fringe (setq-default left-fringe-width 20) @@ -311,7 +308,7 @@ (setq highlight-thing-what-thing 'word) (setq highlight-thing-exclude-thing-under-point t) (global-highlight-thing-mode) - (setq highlight-thing-delay-seconds 0.0)) + (setq highlight-thing-delay-seconds 1.0)) ;; Vterm (require 'vterm) -- cgit v1.2.1