- commit today
This commit is contained in:
parent
70b8b52e5a
commit
a79f4cf642
40
custom.el
40
custom.el
@ -120,3 +120,43 @@
|
||||
(add-hook 'evil-insert-state-entry-hook #'my/start-fcitx5-monitor)
|
||||
(add-hook 'evil-insert-state-exit-hook #'my/stop-fcitx5-monitor)
|
||||
(add-hook 'evil-insert-state-exit-hook #'my/disable-fcitx5-on-esc)
|
||||
(setq org-hide-emphasis-markers t)
|
||||
(with-eval-after-load 'org (global-org-modern-mode))
|
||||
;; Minimal UI
|
||||
(package-initialize)
|
||||
(menu-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
(modus-themes-load-operandi)
|
||||
|
||||
;; Choose some fonts
|
||||
;; (set-face-attribute 'default nil :family "Iosevka")
|
||||
;; (set-face-attribute 'variable-pitch nil :family "Iosevka Aile")
|
||||
;; (set-face-attribute 'org-modern-symbol nil :family "Iosevka")
|
||||
|
||||
;; Add frame borders and window dividers
|
||||
(modify-all-frames-parameters
|
||||
'((right-divider-width . 40)
|
||||
(internal-border-width . 40)))
|
||||
(dolist (face '(window-divider
|
||||
window-divider-first-pixel
|
||||
window-divider-last-pixel))
|
||||
(face-spec-reset-face face)
|
||||
(set-face-foreground face (face-attribute 'default :background)))
|
||||
(set-face-background 'fringe (face-attribute 'default :background))
|
||||
|
||||
(setq
|
||||
;; Edit settings
|
||||
org-auto-align-tags nil
|
||||
org-tags-column 0
|
||||
org-catch-invisible-edits 'show-and-error
|
||||
org-special-ctrl-a/e t
|
||||
org-insert-heading-respect-content t
|
||||
|
||||
;; Org styling, hide markup etc.
|
||||
org-hide-emphasis-markers t
|
||||
org-pretty-entities t
|
||||
org-agenda-tags-column 0
|
||||
org-ellipsis "…")
|
||||
|
||||
(global-org-modern-mode)
|
||||
|
||||
@ -48,3 +48,4 @@
|
||||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||
;; (unpin! t)
|
||||
(package! anki-editor)
|
||||
(package! org-modern)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user