summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/custom/fcuny-ui.el')
-rw-r--r--emacs.d/custom/fcuny-ui.el37
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)
+