emacs.d/modules/jenga-ui.el

32 lines
803 B
EmacsLisp
Raw Normal View History

2020-01-05 23:51:24 +01:00
;; Use material theme on black background.
(use-package material-theme)
;;
;; ===============
;; Other UI tweaks
;; ===============
;;
;; Disable the splash screen (to enable it agin, replace the t with 0).
(setq inhibit-splash-screen t)
;; Disable the menu.
(tool-bar-mode -1)
;; Enable transient mark mode.
(transient-mark-mode 1)
;; Highlight paired parentheses when cursor is over one.
(show-paren-mode 1)
(setq-default display-line-numbers-type 'absolute
display-line-numbers-current-absolute t
display-line-numbers-width 4
display-line-numbers-widen t)
(add-hook 'text-mode-hook #'display-line-numbers-mode)
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
(setq column-number-mode t)
(setq ido-use-filename-at-point nil)
(provide 'jenga-ui)