Skip to content

Commit

Permalink
tweak(defaults): more UI customization
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 26, 2023
1 parent dc3a0da commit d7e7f98
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/me-defaults.el
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@
tooltip-hide-delay 20
;; Use small frames to display tooltips instead of the default OS tooltips
use-system-tooltips nil
;; Animated images loop forever instead of playing the animation only once
image-animate-loop t
;; Set line width for the divider in `window-divider-mode' to 2px
window-divider-default-bottom-width 2
window-divider-default-right-width 2

;; ====== Undo ======
;; 10MB (default is 160kB)
Expand Down Expand Up @@ -304,6 +309,8 @@
indent-tabs-mode nil
;; Width for line numbers
display-line-numbers-width 4
;; Display absolute line numbers in narrowed regions
display-line-numbers-widen t
;; Small tab is enough!
tab-width 2
;; Save buffer status
Expand Down Expand Up @@ -424,6 +431,9 @@ or file path may exist now."
;; Window layout undo/redo (`winner-undo' / `winner-redo')
(winner-mode 1)

;; Display divider between windows
(window-divider-mode 1)

;; Scroll pixel by pixel, in Emacs29+ there is a more pricise mode way to scroll
(if (>= emacs-major-version 29)
(pixel-scroll-precision-mode 1)
Expand Down

0 comments on commit d7e7f98

Please sign in to comment.