Magit keybinds, and Avy

This commit is contained in:
Anthony Cicchetti 2020-12-29 14:56:07 -05:00
parent 7d191c85e4
commit addba30265

View file

@ -70,8 +70,6 @@
:config
(global-undo-tree-mode))
;; Magit
(use-package magit)
;; EVIL
(use-package evil
@ -129,6 +127,18 @@
(evil-define-key 'normal 'global (kbd "gc") 'evil-commentary)
(evil-define-key 'normal 'global (kbd "<leader>u") 'undo-tree-visualize)
;; Avy
(use-package avy
:config
(evil-define-key 'normal 'global (kbd "<leader>a") 'avy-goto-char-timer))
;; Magit
(use-package magit
:config
(evil-define-key 'normal 'global (kbd "<leader>g") 'magit-file-dispatch)
(evil-define-key 'normal 'global (kbd "<leader>r") 'magit-status)
)
;; Lispy
(use-package lispy
:config (add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1))))