blob: 40ff5b4b1b99c6d3b61cfaba08952365fdfceac7 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
(use-package fringe
:custom
(left-fringe-width 5)
(right-fringe-width 5))
(use-package scroll-bar
:config
(scroll-bar-mode -1))
(use-package tool-bar
:config
(tool-bar-mode -1))
(use-package menu-bar
:config
(menu-bar-mode -1))
(use-package diminish
:ensure t)
(use-package frame
:config
(blink-cursor-mode -1)
(set-background-color "#F5F5F0")
(setq frame-title-format "%b")
(when (memq window-system '(mac ns))
(set-frame-font "Source Code Pro-14")
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(add-to-list 'default-frame-alist '(ns-appearance . nil))
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . nil))
(setq ns-use-native-fullscreen nil)
(setq mac-allow-anti-aliasing t))
(when (memq window-system '(x))
(set-frame-font "Source Code Pro-10")
;; this is a fall back in the case we have unicode characeters.
;; For example, with this settings, the following source is
;; rendered correctly 😇 😀 and 🤢
(set-fontset-font "fontset-default" nil
(font-spec :name "Noto Color Emoji"))))
(use-package hl-line
:hook ((prog-mode text-mode conf-mode special-mode) . hl-line-mode)
:custom
;; Not having to render the hl-line overlay in multiple buffers offers a tiny
;; performance boost. I also don't need to see it in other buffers.
(hl-line-sticky-flag nil)
(global-hl-line-sticky-flag nil))
(use-package uniquify
:defer 5
:config
;; don't muck with special buffers
(setq uniquify-ignore-buffers-re "^\\*")
(setq uniquify-buffer-name-style 'forward)
(setq uniquify-separator "/"))
;; required for dap-mode and dap-ui-mode
(use-package posframe
:ensure t)
(provide 'fcuny-ui)
|