Use use-package's keybinding shorthand

This commit is contained in:
outfoxxed 2022-11-25 15:22:16 -08:00
parent 4190318cc3
commit 6aca955b8e
No known key found for this signature in database
GPG key ID: 5775F651AC84FFE6

View file

@ -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)