diff --git a/config.org b/config.org index 7660509..b2c7d66 100644 --- a/config.org +++ b/config.org @@ -260,7 +260,7 @@ you try to copmile vterm for further information. It should use your default shell by default. #+BEGIN_SRC emacs-lisp - (use-package "vterm" + (use-package vterm :ensure t) #+END_SRC And to have multiple buffers @@ -272,10 +272,9 @@ And to have multiple buffers #+END_SRC ** Theme #+begin_src emacs-lisp - (use-package "plan9-theme" + (use-package plan9-theme :ensure t - :init(load-theme 'plan9 t) - ) + :init(load-theme 'plan9 t)) (set-cursor-color "purple") ** ctrlf So, you know, C-s in emacs sucks, so this is a repleacement for that. @@ -291,7 +290,7 @@ So, you know, C-s in emacs sucks, so this is a repleacement for that. *** LSP Le language server #+begin_src emacs-lisp - (use-package "lsp-mode" + (use-package lsp-mode :ensure t) #+end_src *** Lisp @@ -454,7 +453,7 @@ Scroll by lines rather than by pages. ** Mark multiple Multiple cursors :DD #+begin_src emacs-lisp - (use-package "multiple-cursors" + (use-package multiple-cursors :ensure t :bind ("C-x q" . 'mc/mark-next-like-this)) @@ -463,7 +462,7 @@ Multiple cursors :DD ** Highlight indent guides I don't really know, it looks cool. #+begin_src emacs-lisp - (use-package "highlight-indent-guides" + (use-package highlight-indent-guides :ensure t :defer :init (add-hook 'prog-mode-hook 'highlight-indent-guides-mode) @@ -475,13 +474,13 @@ Fly to live, do or die Won't you run, live to fly Fly to live, aces high #+begin_src emacs-lisp - (use-package "ace-jump-mode" + (use-package ace-jump-mode :ensure t :bind("C-l" . 'ace-jump-mode)) #+end_src And same but jumping between frames #+begin_src emacs-lisp - (use-package "ace-window" + (use-package ace-window :ensure t :bind("M-l" . 'ace-window) :bind("M-o" . 'ace-delete-window)) @@ -505,7 +504,7 @@ And same but jumping between frames #+end_src ** Beacon mode #+begin_src emacs-lisp - (use-package "beacon" + (use-package beacon :ensure t :init(beacon-mode 1)) #+end_src @@ -525,23 +524,23 @@ I am tired of =M-x auto-fill-mode= in some modes Having to delete multiple whitespaces is one of the things I hate, thankfully there's this thing. #+begin_src emacs-lisp - (use-package "hungry-delete" + (use-package hungry-delete :ensure t :init(global-hungry-delete-mode)) #+end_src ** Yasnippet #+begin_src emacs-lisp - (use-package "yasnippet" + (use-package yasnippet :ensure t :config - (use-package "yasnippet-snippets" + (use-package yasnippet-snippets :ensure t) :init(yas-global-mode) (yas-reload-all)) #+end_src ** Org-mode customization #+begin_src emacs-lisp - (use-package "org-bullets" + (use-package org-bullets :ensure t :config (add-hook 'org-mode-hook 'org-bullets-mode)) @@ -580,13 +579,13 @@ stuff. And has support for Perl regular expressions. Because it is written in Perl. #+begin_src emacs-lisp - (use-package "ack" + (use-package ack :ensure t) #+end_src ** whitespace-cleanup-mode Useful for makefiles. #+begin_src emacs-lisp -(use-package "whitespace-cleanup-mode" +(use-package whitespace-cleanup-mode :ensure t :init(add-hook 'after-init-hook 'whitespace-cleanup-mode)) #+end_src @@ -692,7 +691,7 @@ Yes. * CRUX This thing add sane shortcuts for emacs #+begin_src emacs-lisp - (use-package "crux" + (use-package crux :ensure t :bind("C-k" . 'crux-smart-kill-line) :bind("C-c o" . 'crux-open-with) @@ -731,7 +730,7 @@ create it in case you accidentally killed the buffer) * Modeline #+begin_src emacs-lisp - (use-package "doom-modeline" + (use-package doom-modeline :ensure t :init(doom-modeline-mode) :config