switched to pr version of corfu and added more keybinds

This commit is contained in:
Matt Nish-Lapidus 2023-03-29 17:03:22 -04:00
parent cc34d2e8ee
commit 3299dc9f9c
10 changed files with 363 additions and 356 deletions

View file

@ -2,6 +2,27 @@
(setq doom-localleader-alt-key "C-SPC")
(map! (:when (modulep! :ui popup)
"C-`" #'+popup/toggle
"C-~" #'+popup/raise
"C-x p" #'+popup/other)
(:when (modulep! :ui workspaces)
(:when IS-MAC
"s-t" #'+workspace/new
"s-T" #'+workspace/display
"s-1" #'+workspace/switch-to-0
"s-2" #'+workspace/switch-to-1
"s-3" #'+workspace/switch-to-2
"s-4" #'+workspace/switch-to-3
"s-5" #'+workspace/switch-to-4
"s-6" #'+workspace/switch-to-5
"s-7" #'+workspace/switch-to-6
"s-8" #'+workspace/switch-to-7
"s-9" #'+workspace/switch-to-8
"s-0" #'+workspace/switch-to-final)))
(map! :leader
"`" nil
(:prefix ("m" . "<localleader>")) ; bound locally
@ -168,7 +189,6 @@
:desc "Dictionary" "t" #'+lookup/dictionary-definition
:desc "Thesaurus" "T" #'+lookup/synonyms)
;;; <leader> t --- toggle
(:prefix-map ("t" . "toggle")
:desc "Big mode" "b" #'doom-big-font-mode
@ -345,7 +365,7 @@
:desc "Delete trailing newlines" "W" #'doom/delete-trailing-newlines
:desc "List errors" "x" #'+default/diagnostics)
;;; <leader> q --- quit/restart
;;; <leader> q --- quit/restart
(:prefix-map ("q" . "quit/session")
:desc "Restart emacs server" "d" #'+default/restart-server
:desc "Delete frame" "f" #'delete-frame