dotfiles/private_dot_emacs.d/org/magit.org

27 lines
734 B
Org Mode
Raw Normal View History

2020-11-01 02:56:34 +01:00
* 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