Update emacs.org
This commit is contained in:
parent
a09a2466b2
commit
230f0e4b9b
1 changed files with 47 additions and 50 deletions
|
@ -295,15 +295,16 @@ Should make startup faster, taken from doom-emacs
|
||||||
#+end_src
|
#+end_src
|
||||||
** Hide Modeline
|
** Hide Modeline
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package hide-mode-line
|
(use-package hide-mode-line
|
||||||
:straight t
|
:straight t
|
||||||
:hook (((treemacs-mode
|
:hook (((treemacs-mode
|
||||||
eshell-mode shell-mode
|
eshell-mode shell-mode
|
||||||
term-mode vterm-mode
|
term-mode vterm-mode
|
||||||
embark-collect-mode
|
embark-collect-mode
|
||||||
lsp-ui-imenu-mode
|
lsp-ui-imenu-mode
|
||||||
pdf-annot-list-mode) . turn-on-hide-mode-line-mode)
|
pdf-annot-list-mode
|
||||||
(dired-mode . turn-off-hide-mode-line-mode)))
|
dashboard-mode) . turn-on-hide-mode-line-mode)
|
||||||
|
(dired-mode . turn-off-hide-mode-line-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Minor mode menu for modline
|
** Minor mode menu for modline
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -391,42 +392,36 @@ Should make startup faster, taken from doom-emacs
|
||||||
#+end_src
|
#+end_src
|
||||||
** Dashboard
|
** Dashboard
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:ensure t
|
:straight t
|
||||||
:straight t
|
:init
|
||||||
:config
|
(setq dashboard-display-icons-p t) ;; display icons on both GUI and terminal
|
||||||
(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
|
(setq dashboard-icon-type 'nerd-icons) ;; use `nerd-icons' package
|
||||||
;; Configuration of Dashboard
|
(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
|
||||||
(setq dashboard-display-icons-p t) ;; display icons on both GUI and terminal
|
(setq dashboard-center-content t)
|
||||||
(setq dashboard-icon-type 'nerd-icons) ;; use `nerd-icons' package
|
(setq dashboard-projects-backend 'projectile)
|
||||||
;; Set the title
|
(setq dashboard-footer-messages '("i think i have emacs pinky"
|
||||||
(setq dashboard-banner-logo-title "Emacs is vscode for nerds")
|
"why are we still using lisp again?"
|
||||||
;; Set the banner
|
"why is this running on 1/16 threads?!?!?"
|
||||||
(setq dashboard-startup-banner 'official)
|
"still waiting for multithreaded :)"
|
||||||
;; center everything
|
"any day now"
|
||||||
(setq dashboard-center-content t)
|
"make sure to pray today"
|
||||||
;; jump thing
|
"im literally kanye west"
|
||||||
(setq dashboard-show-shortcuts nil)
|
"please dont break please dont break"
|
||||||
(setq dashboard-items '((recent . 3)
|
"GNU/Linux/Emacs/???"
|
||||||
(projects . 3)
|
"what is a GNU/Linux ?????????????"
|
||||||
(agenda . 5)))
|
"done!"
|
||||||
(setq dashboard-projects-switch-function 'counsel-projectile-switch-project-by-name)
|
"remove / for faster emacs on linux"
|
||||||
(setq dashboard-footer-messages '("I think I have Emacs pinky!"
|
""))
|
||||||
"Eating a burger with no honey mustard"
|
(setq dashboard-items '((recents . 3)
|
||||||
"why are oranges called oranges?"
|
(projects . 3)
|
||||||
"but an apple is not called red"
|
(agenda . 5)))
|
||||||
"TODO find a replacement for hands"
|
|
||||||
"the best OS it just needs a good text editor"
|
(setq dashboard-image-banner-max-height 250)
|
||||||
"why are we still using one thread"
|
(setq dashboard-image-banner-max-width 500)
|
||||||
"goodness gracious!!!!"
|
|
||||||
"kanye west is literally me"
|
(setq dashboard-page-separator "\n\n")
|
||||||
"i drive"
|
(dashboard-setup-startup-hook))
|
||||||
"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
|
#+end_src
|
||||||
** Evil Mode (vim)
|
** Evil Mode (vim)
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -768,11 +763,13 @@ Should make startup faster, taken from doom-emacs
|
||||||
** Dev Packages
|
** Dev Packages
|
||||||
*** Magit (git in emacs)
|
*** Magit (git in emacs)
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:straight t
|
:straight t
|
||||||
:custom
|
:custom
|
||||||
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
|
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
|
||||||
)
|
)
|
||||||
|
(use-package magit-todos
|
||||||
|
:straight t)
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Forge for Magit (Adds github, gitlab, etc PRs and Issues to magit)
|
*** Forge for Magit (Adds github, gitlab, etc PRs and Issues to magit)
|
||||||
make sure to setup authinfo
|
make sure to setup authinfo
|
||||||
|
|
Loading…
Reference in a new issue