mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-28 02:56:12 +01:00
27 lines
734 B
Org Mode
27 lines
734 B
Org Mode
|
* Magit
|
||
|
#+NAME: magit
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(use-package magit
|
||
|
:ensure t)
|
||
|
#+END_SRC
|
||
|
** Evil Magit
|
||
|
*** TODO The keybindings for <hjkl> to <jkl;> are kind of broken..
|
||
|
|
||
|
#+NAME: evil-magit
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(use-package evil-magit
|
||
|
:ensure t
|
||
|
:config
|
||
|
(setq evil-magit-state 'motion)
|
||
|
(evil-define-key evil-magit-state magit-mode-map ";" 'magit-log)
|
||
|
(evil-define-key evil-magit-state magit-mode-map "k" 'evil-previous-line)
|
||
|
(evil-define-key evil-magit-state magit-status-mode-map "l" 'evil-next-line))
|
||
|
#+END_SRC
|
||
|
** Magit Todos
|
||
|
#+NAME: magit-todos
|
||
|
#+BEGIN_SRC emacs-lisp
|
||
|
(use-package magit-todos
|
||
|
:ensure t
|
||
|
:hook (rustic . hl-todo-mode))
|
||
|
#+END_SRC
|