emacs: add magit

this would make me use a terminal less, as such this is a massive time
saver im surprised i never considered lol
This commit is contained in:
Artur Manuel 2024-07-20 20:29:36 +01:00
commit c5f9039e27
Failed to generate hash of commit
2 changed files with 17 additions and 1 deletions

View file

@ -398,6 +398,15 @@ Amazing tool, love it a bunch.
; :ensure t ; :ensure t
; :config (treemacs-set-scope-type 'Tabs)) ; :config (treemacs-set-scope-type 'Tabs))
#+END_SRC #+END_SRC
* Magit
Git in Emacs, it saves a fuck ton of time later down the road
#+BEGIN_SRC emacs-lisp
(use-package magit
:ensure t
:bind (("C-x C-g" . magit-status)
("C-x g" . magit-status)))
#+END_SRC
* Projectile * Projectile
This makes stuff a lot easier I hope. This makes stuff a lot easier I hope.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -412,4 +421,9 @@ This makes stuff a lot easier I hope.
(use-package treemacs-projectile (use-package treemacs-projectile
:after (treemacs projectile) :after (treemacs projectile)
:ensure t) :ensure t)
(use-package treemacs-magit
:after (treemacs magit)
:ensure t)
#+END_SRC #+END_SRC

View file

@ -32,6 +32,8 @@ emacsWithPackagesFromUsePackage {
all-the-icons all-the-icons
projectile projectile
treemacs-projectile treemacs-projectile
magit
treemacs-magit
]; ];
override = _: prev: { use-package = prev.emacs; }; override = _: prev: { use-package = prev.emacs; };
} }