Update emacs.org
This commit is contained in:
parent
568d1913cf
commit
a09a2466b2
|
@ -389,7 +389,7 @@ Should make startup faster, taken from doom-emacs
|
|||
"gci" `(forge-create-issue :which-key "issue")
|
||||
"gcp" `(forge-create-pullreq :which-key "pull request")))
|
||||
#+end_src
|
||||
** Emacs-Dashboard
|
||||
** Dashboard
|
||||
#+begin_src emacs-lisp
|
||||
(use-package dashboard
|
||||
:ensure t
|
||||
|
@ -407,11 +407,26 @@ Should make startup faster, taken from doom-emacs
|
|||
(setq dashboard-center-content t)
|
||||
;; jump thing
|
||||
(setq dashboard-show-shortcuts nil)
|
||||
(setq dashboard-items '((projects . 5)
|
||||
(setq dashboard-items '((recent . 3)
|
||||
(projects . 3)
|
||||
(agenda . 5)))
|
||||
(setq dashboard-projects-switch-function 'counsel-projectile-switch-project-by-name)
|
||||
(setq dashboard-footer-messages '("I think I have Emacs pinky!"))
|
||||
(dashboard-setup-startup-hook))
|
||||
(setq dashboard-footer-messages '("I think I have Emacs pinky!"
|
||||
"Eating a burger with no honey mustard"
|
||||
"why are oranges called oranges?"
|
||||
"but an apple is not called red"
|
||||
"TODO find a replacement for hands"
|
||||
"the best OS it just needs a good text editor"
|
||||
"why are we still using one thread"
|
||||
"goodness gracious!!!!"
|
||||
"kanye west is literally me"
|
||||
"i drive"
|
||||
"happy waking up day"
|
||||
"why are we still using lisp again?"
|
||||
"one more ai application i swear to god"))
|
||||
(dashboard-setup-startup-hook)
|
||||
:hook
|
||||
(dashboard-mode . hide-mode-line-mode))
|
||||
#+end_src
|
||||
** Evil Mode (vim)
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -486,14 +501,8 @@ Should make startup faster, taken from doom-emacs
|
|||
#+end_src
|
||||
** Org-Mode
|
||||
#+begin_src emacs-lisp
|
||||
(defun sakomacs/org-mode-setup ()
|
||||
(org-indent-mode)
|
||||
(variable-pitch-mode 1)
|
||||
(visual-line-mode 1))
|
||||
|
||||
(use-package org
|
||||
:straight t
|
||||
:hook (org-mode . sakomacs/org-mode-setup)
|
||||
:config
|
||||
(setq org-ellipsis "▼")
|
||||
(setq org-agenda-start-with-log-mode t)
|
||||
|
@ -629,17 +638,10 @@ Should make startup faster, taken from doom-emacs
|
|||
(use-package org-superstar
|
||||
:after org
|
||||
:hook (org-mode . org-superstar-mode)
|
||||
:custom
|
||||
(org-superstar-headline-bullets-list'("◉" "○" "●" "○" "●" "○" "●")))
|
||||
|
||||
;; word
|
||||
(defun sakomacs/org-mode-visual-fill ()
|
||||
(setq visual-fill-column-width 100
|
||||
visual-fill-column-center-text t)
|
||||
(visual-fill-column-mode 1))
|
||||
|
||||
(use-package visual-fill-column
|
||||
:hook (org-mode . sakomacs/org-mode-visual-fill))
|
||||
:config
|
||||
(setq org-superstar-headline-bullets-list '("◉" "○" "◈" "◎")))
|
||||
(use-package olivetti
|
||||
:hook (org-mode . (lambda () (interactive) (olivetti-mode) (olivetti-set-width 100))))
|
||||
#+end_src
|
||||
** Org-Roam
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Reference in a new issue