You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

1.3 KiB

UI

Package

Define UI package.

  (use-package emacs
    :after uno
    :config
    (provide 'uno-ui))

Icons

Add support for icons via all-the-icons.

  (use-package all-the-icons
    :after uno-ui)

Ligatures

  (use-package ligature
    :after uno-ui
    :straight (:type git :host github :repo "mickeynp/ligature.el")
    :config
    (global-ligature-mode 1))

Olivetti

  (use-package olivetti
    :after uno-ui
    :custom
    (olivetti-body-width 82)
    :general
    (uno-leader-define
      "tw" '(olivetti-mode :which-key "Toggle writing mode")))

Which Key

  (use-package which-key
    :after uno-ui
    :config
    (which-key-mode 1))

Zoom Frame

  (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)))