Skip to content

Commit

Permalink
feat(ui): add logos
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 8, 2024
1 parent 32fbfa8 commit 9095fcc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions modules/me-ui.el
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,31 @@
:init
(+map! "tF" #'focus-mode))

(use-package logos
:straight t
:custom
;; If you want to use outlines instead of page breaks (the ^L):
(logos-outlines-are-pages t)
;; This is the default value for the outlines:
(logos-outline-regexp-alist `((emacs-lisp-mode . "^;;;+ ")
(org-mode . "^\\*+ +")
(markdown-mode . "^\\#+ +")))
;; These apply when `logos-focus-mode' is enabled. Their value is buffer-local.
(logos-hide-cursor nil)
(logos-hide-mode-line t)
(logos-hide-header-line t)
(logos-hide-buffer-boundaries t)
(logos-hide-fringe t)
(logos-variable-pitch nil)
(logos-buffer-read-only nil)
(logos-scroll-lock nil)
:init
(let ((map global-map))
(define-key map [remap narrow-to-region] #'logos-narrow-dwim)
(define-key map [remap forward-page] #'logos-forward-page-dwim)
(define-key map [remap backward-page] #'logos-backward-page-dwim)
(define-key map (kbd "<f9>") #'logos-focus-mode)))

(use-package nerd-icons-ibuffer
:straight t
:hook (ibuffer-mode . nerd-icons-ibuffer-mode))
Expand Down

0 comments on commit 9095fcc

Please sign in to comment.