diff options
author | mattkae <mattkae@protonmail.com> | 2022-12-14 19:03:21 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-12-14 19:03:21 -0500 |
commit | 1ef51c8468872b70eea8335a8166b64711c9fe98 (patch) | |
tree | 023e86e95cbb5ab63061a1ab7977a8316033793b | |
parent | b673b5800c75ea865322a6eef8561030f66d7041 (diff) |
Much improved performance and disabling the minimap
-rw-r--r-- | lisp/general.el | 25 |
1 files changed, 11 insertions, 14 deletions
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) |