diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-02-16 14:10:22 -0800 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-02-16 14:10:22 -0800 |
commit | 67c2168998c829c8739a0a4f73ab9d6117d07f0a (patch) | |
tree | a4dcb9f8a99f527187b08e77aea85e632c6a1396 /emacs.d/custom/fcuny-ui.el | |
parent | [emacs] Add a function to select and copy buffer. (diff) | |
download | emacs.d-67c2168998c829c8739a0a4f73ab9d6117d07f0a.tar.gz |
[emacs] Split configuration in multiple files.
This is actually an easier thing to maintain.
Diffstat (limited to '')
-rw-r--r-- | emacs.d/custom/fcuny-ui.el | 37 |
1 files changed, 37 insertions, 0 deletions
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) + |