Emacs: Add bindings for function signature preview cycling

This commit is contained in:
Riyyi
2022-08-22 23:59:09 +02:00
parent 21dc56539f
commit 3492090285
+5
View File
@@ -779,6 +779,11 @@ Set keybinds to functionality of installed packages.
(global-set-key [remap describe-variable] #'helpful-variable)
(which-key-add-key-based-replacements "C-h o" "describe-symbol-at-point")
;; LSP
(with-eval-after-load 'lsp-mode
(define-key lsp-signature-mode-map (kbd "M-j") #'lsp-signature-next)
(define-key lsp-signature-mode-map (kbd "M-k") #'lsp-signature-previous))
;; Magit
(with-eval-after-load 'magit
(define-key magit-log-select-mode-map (kbd "M-c") #'magit-log-select-pick)