summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-ui.el
blob: e5b93566e15f1094e7e1ac9e1df4561527605cda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(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 140 :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 "/"))

;; Adaptive cursor width shows width of character, e.g. TAB.
(setq x-stretch-cursor t)

(use-package hydra
  :ensure t)

(provide 'fcuny-ui)