[Emacs] Add Magit-Gitflow, Ripgrep interface, Smartparens

This commit is contained in:
Lucien Cartier-Tilet 2021-07-30 18:46:04 +02:00
parent 380258c819
commit f88ee5535d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1986,6 +1986,19 @@ project to remind you of what to do next.
(setq magit-todos-ignore-case t)) (setq magit-todos-ignore-case t))
#+end_src #+end_src
Finally, it is also possible to use Gitflows framework with Magit
with ~magit-gitflow~:
#+begin_src emacs-lisp
(use-package magit-gitflow
:defer t
:after magit
:straight (magit-gitflow :build t
:type git
:host github
:repo "jtatarik/magit-gitflow")
:hook (magit-mode . turn-on-magit-gitflow))
#+end_src
**** Forge **** Forge
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Project-Management-Forgelcq5fl6184j0 :CUSTOM_ID: Packages-Configuration-Project-Management-Forgelcq5fl6184j0
@ -2004,6 +2017,12 @@ project to remind you of what to do next.
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Project-Management-Projectilesvr5fl6184j0 :CUSTOM_ID: Packages-Configuration-Project-Management-Projectilesvr5fl6184j0
:END: :END:
#+begin_src emacs-lisp
(use-package ripgrep
:straight (:build t)
:defer t)
#+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package projectile (use-package projectile
:straight (:build t) :straight (:build t)
@ -2190,6 +2209,22 @@ since been archived. New implementations then appeared, one of them is
"parinfer-rust/"))) "parinfer-rust/")))
#+end_src #+end_src
*** Smartparens
:PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Editing-Smartparens-zve93mk0k4j0
:END:
~smartparens~ is a package similar to ~parinfer~, but while the latter is
more specialized for Lisp dialects, ~smartparens~ works better with
other programming languages that still uses parenthesis, but not as
much as Lisp dialects; think for example C, C++, Rust, Javascript, and
so on.
#+begin_src emacs-lisp
(use-package smartparens
:defer t
:straight (:build t)
:hook (prog-mode . smartparens-mode))
#+end_src
*** ~string-edit~ *** ~string-edit~
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Editing-string-editae02fl6184j0 :CUSTOM_ID: Packages-Configuration-Editing-string-editae02fl6184j0