UI
Define UI package.
(use-package emacs
:after uno
:config
(provide 'uno-ui))
Add support for icons via all-the-icons.
(use-package all-the-icons
:after uno-ui)
(use-package ligature
:after uno-ui
:straight (:type git :host github :repo "mickeynp/ligature.el")
:config
(global-ligature-mode 1))
(use-package olivetti
:after uno-ui
:custom
(olivetti-body-width 82)
:general
(uno-leader-define
"tw" '(olivetti-mode :which-key "Toggle writing mode")))
(use-package which-key
:after uno-ui
:config
(which-key-mode 1))
(use-package zoom-frm
:after uno-ui
:custom
(zoom-frame/buffer 'buffer)
:general
(uno-leader-define
"z" '(:ignore t :which-key "Zoom")
"z0" '(uno/ui/zoom-reset :which-key "Zoom reset")
"zj" '(zoom-in :which-key "Zoom in")
"zk" '(zoom-out :which-key "Zoom out"))
:init
(defun uno/ui/zoom-reset ()
"Reset zoom."
(interactive)
(zoom-in/out 0)))