diff options
Diffstat (limited to 'lisp')
-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) |