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)
|
||||
|
||||
;; Avy (jump to char)
|
||||
(use-package avy)
|
||||
(global-set-key (kbd "C-;") #'avy-goto-char)
|
||||
(global-set-key (kbd "C-:") #'avy-goto-word-1)
|
||||
(global-set-key (kbd "M-g g") #'avy-goto-line)
|
||||
(use-package avy
|
||||
:bind (("C-;" . avy-goto-char)
|
||||
("C-:" . avy-goto-word-1)
|
||||
("M-g g" . avy-goto-line)))
|
||||
|
||||
;; Magit (git frontend)
|
||||
(use-package magit)
|
||||
|
|
Loading…
Reference in a new issue