Files
sydnix/users/crumb/programs/emacs/modules/syd-ui.el
2025-01-29 04:38:50 -07:00

31 lines
1.2 KiB
EmacsLisp
Executable File

;;; syd-ui.el -*- lexical-binding: t; -*-
;; Beautiful theme in dark and light.
(use-package kanagawa-themes
:config
(load-theme 'kanagawa-wave t))
;; Display (relative) line numbers only in prog-mode derivatives.
(use-package emacs
:hook ((prog-mode-hook . display-line-numbers-mode))
:custom ((display-line-numbers-type 'relative)
;; Always ask "y/n"; never "yes/no".
(use-short-answers t)
;; The default value is `ask', meaning that Emacs will ask for
;; confirmation any time you follow a symlink to a file under version
;; control. The documentation claims this is "dangerous, and
;; probably not what you want;" I personally don't see it, and it's
;; usually what I want.
(vc-follow-symlinks t)
;; Log native-compiler warnings, but don't display the
;; buffer. Most of the warnings are "`X' is not known to
;; be defined" which are typically nothing worth concerning.
(native-comp-async-report-warnings-errors 'silent))
:config
;; Disable the menu bar, scroll bar, and tool bar.
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1))
(provide 'syd-ui)