Use use-package's keybinding shorthand
This commit is contained in:
parent
4190318cc3
commit
6aca955b8e
8
init.el
8
init.el
|
@ -46,10 +46,10 @@
|
||||||
(setq straight-use-package-by-default +1)
|
(setq straight-use-package-by-default +1)
|
||||||
|
|
||||||
;; Avy (jump to char)
|
;; Avy (jump to char)
|
||||||
(use-package avy)
|
(use-package avy
|
||||||
(global-set-key (kbd "C-;") #'avy-goto-char)
|
:bind (("C-;" . avy-goto-char)
|
||||||
(global-set-key (kbd "C-:") #'avy-goto-word-1)
|
("C-:" . avy-goto-word-1)
|
||||||
(global-set-key (kbd "M-g g") #'avy-goto-line)
|
("M-g g" . avy-goto-line)))
|
||||||
|
|
||||||
;; Magit (git frontend)
|
;; Magit (git frontend)
|
||||||
(use-package magit)
|
(use-package magit)
|
||||||
|
|
Loading…
Reference in a new issue