keybindings stuff

This commit is contained in:
Janis 2024-07-15 18:31:10 +02:00
parent 9538d54948
commit a1cbd31086

View file

@ -519,6 +519,7 @@ Unassociated key-bindings:
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; for exiting out of magits commit editor with ,, instead of C-c C-c ;; for exiting out of magits commit editor with ,, instead of C-c C-c
(evil-define-key 'normal global (kbd ",,") 'with-editor-finish) (evil-define-key 'normal global (kbd ",,") 'with-editor-finish)
(evil-define-key 'normal 'global (kbd "<SPC>gb") 'xref-go-back)
#+end_src #+end_src
Close =:config=. Close =:config=.
@ -864,7 +865,7 @@ Use the =move-text= package to move the current line or selection up or down wit
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package vertico (use-package vertico
:bind (:map minibuffer-local-map :bind (:map minibuffer-local-map
("C-h" . backward-kill-sexpr)) ("C-h" . backward-kill-sexp))
:config :config
(vertico-mode 1) (vertico-mode 1)
(setq vertico-count 25 (setq vertico-count 25
@ -1106,7 +1107,8 @@ LSP sets it's prefix key to =s-l= by default, which uses the Super key which I u
lsp-rust-analyzer-proc-macro-enable t lsp-rust-analyzer-proc-macro-enable t
lsp-rust-analyzer-binding-mode-hints t lsp-rust-analyzer-binding-mode-hints t
lsp-rust-analyzer-display-closure-return-type-hints t lsp-rust-analyzer-display-closure-return-type-hints t
lsp-rust-analyzer-server-format-inlay-hints t)) lsp-rust-analyzer-server-format-inlay-hints t)
)
(use-package lsp-treemacs (use-package lsp-treemacs
:commands lsp-treemacs-errors-list) :commands lsp-treemacs-errors-list)