feat: Add custom modeline
This commit is contained in:
parent
015ed00b0f
commit
6a57cbfd1f
1 changed files with 30 additions and 0 deletions
30
config.org
30
config.org
|
|
@ -1002,6 +1002,36 @@ https://github.com/remyferre/comment-dwim-2
|
||||||
|
|
||||||
* Custom
|
* Custom
|
||||||
|
|
||||||
|
** Modeline
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq-default mode-line-format
|
||||||
|
'("%e" " "
|
||||||
|
;; (:propertize " " display (raise +0.1)) ;; Top padding
|
||||||
|
;; (:propertize " " display (raise -0.1)) ;; Bottom padding
|
||||||
|
(:propertize "𝝮 " face font-lock-keyword-face)
|
||||||
|
|
||||||
|
(:propertize
|
||||||
|
("" mode-line-mule-info mode-line-client mode-line-modified mode-line-remote mode-line-window-dedicated))
|
||||||
|
|
||||||
|
mode-line-frame-identification
|
||||||
|
mode-line-buffer-identification
|
||||||
|
" "
|
||||||
|
mode-line-position
|
||||||
|
mode-line-format-right-align
|
||||||
|
" "
|
||||||
|
(project-mode-line project-mode-line-format)
|
||||||
|
" "
|
||||||
|
(vc-mode vc-mode)
|
||||||
|
" "
|
||||||
|
mode-line-modes
|
||||||
|
mode-line-misc-info
|
||||||
|
mode-line-end-spaces)
|
||||||
|
project-mode-line t
|
||||||
|
mode-line-buffer-identification '(" %b")
|
||||||
|
mode-line-position-column-line-format '(" %l:%c"))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** Org-roam
|
** Org-roam
|
||||||
|
|
||||||
Inspired by https://github.com/org-roam/org-roam/wiki/User-contributed-Tricks#filter-by-a-tag .
|
Inspired by https://github.com/org-roam/org-roam/wiki/User-contributed-Tricks#filter-by-a-tag .
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue