Some keybinding changes

This commit is contained in:
Chris Cochrun 2021-03-24 08:22:32 -05:00
parent 4dc9f80403
commit 0b2daab0e8
2 changed files with 47 additions and 12 deletions

20
init.el
View file

@ -192,10 +192,13 @@
"hf" '(helpful-callable :which-key "describe-function")
"hv" '(helpful-variable :which-key "describe-variable")
"hk" '(helpful-key :which-key "describe-key")
"hb" '(general-describe-keybindings :which-key "describe-bindings")
"hi" '(info :which-key "info manual")
"ss" '(consult-line :which-key "consult search")
"ww" '(other-window :which-key "other window")
"wd" '(delete-window :which-key "other window")
";" '(execute-extended-command :which-key "execute command")
":" '(eval-expression :which-key "evaluate expression")
)
(general-def 'minibuffer-local-map
"C-v" 'evil-paste-after)
@ -306,6 +309,13 @@ vertically."
(setq marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil))
:after selectrum)
(use-package company
:defer 1
:config (global-company-mode +1))
(use-package company-dict
:defer t)
(use-package helpful
:commands (helpful-callable helpful-variable helpful-command helpful-key))
@ -321,6 +331,12 @@ vertically."
(use-package yaml-mode
:mode ("\\.yml\\'" . yaml-mode))
(use-package docker
:defer t)
(use-package docker-tramp
:after docker)
(use-package fish-mode
:mode ("\\.fish\\'" . fish-mode))
@ -1043,10 +1059,6 @@ If on a:
(use-package sly
:mode ("\\.lisp\\'" . sly-mode))
(use-package company
:defer 1
:config (global-company-mode +1))
(use-package pdf-tools
:straight (:host github
:repo "flatwhatson/pdf-tools"