setup-style.el (1179B)
1 ;;; setup-style.el --- -*- lexical-binding: t -*- 2 ;;; Commentary: 3 ;;; Setup of the style, from font faces to themes 4 ;;; Code: 5 6 (when nil 7 (progn 8 ;;; Interface 9 (use-package frame ; Frames 10 :bind ("C-c w f" . toggle-frame-fullscreen) 11 :init 12 ;; Kill `suspend-frame' 13 (unbind-key "C-x C-z") 14 :config (add-to-list 'initial-frame-alist '(fullscreen . maximized))) 15 16 ;; Show buffer position percentage starting from top 17 18 (use-package highlight-numbers 19 :hook (prog-mode . highlight-numbers-mode)) 20 21 (use-package symbol-overlay 22 :defer 4 23 :bind 24 ("M-s h ." . symbol-overlay-put) 25 ("M-s h n" . symbol-overlay-jump-next) 26 ("M-s h p" . symbol-overlay-jump-prev) 27 :hook (prog-mode . symbol-overlay-mode) 28 :config 29 (setq symbol-overlay-idle-time 0.2)) 30 31 (use-package rainbow-delimiters 32 :hook (prog-mode . rainbow-delimiters-mode)) 33 34 (use-package rainbow-mode 35 :commands rainbow-mode 36 :hook (prog-mode . rainbow-mode)) 37 38 (use-package visual-fill-column 39 :commands visual-fill-column-mode) 40 ) 41 ) 42 43 (provide 'setup-style) 44 ;;; setup-style.el ends here