From 67c2168998c829c8739a0a4f73ab9d6117d07f0a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 16 Feb 2019 14:10:22 -0800 Subject: [emacs] Split configuration in multiple files. This is actually an easier thing to maintain. --- emacs.d/custom/fcuny-ui.el | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 emacs.d/custom/fcuny-ui.el (limited to 'emacs.d/custom/fcuny-ui.el') diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el new file mode 100644 index 0000000..54034f8 --- /dev/null +++ b/emacs.d/custom/fcuny-ui.el @@ -0,0 +1,37 @@ +(use-package fringe + :custom + (left-fringe-width 10) + (right-fringe-width 10)) + +(use-package scroll-bar + :config + (scroll-bar-mode -1)) + +(use-package tool-bar + :config + (tool-bar-mode -1)) + +(use-package frame + :bind (("C-c C-m" . toggle-frame-fullscreen)) + :config + (blink-cursor-mode -1) + (setq frame-title-format "%b") + (set-face-attribute 'default nil :height 160 :weight 'normal :width 'normal :font "Source Code Pro") + (when (memq window-system '(mac ns)) + (setq ns-use-native-fullscreen nil) + (setq mac-allow-anti-aliasing t))) + +(use-package hl-line + :config + (set-face-background 'hl-line "#E0EBF5") + (global-hl-line-mode t)) + +(use-package uniquify + :defer 5 + :config + (setq uniquify-ignore-buffers-re "^\\*") ; don't muck with special buffers + (setq uniquify-buffer-name-style 'forward) + (setq uniquify-separator "/")) + +(provide 'fcuny-ui) + -- cgit 1.4.1