summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el index a3b3efa..6d08f29 100644 --- a/init.el +++ b/init.el
@@ -814,6 +814,10 @@ like a dumbass."
814 (defvar case-map (make-sparse-keymap) 814 (defvar case-map (make-sparse-keymap)
815 "A keymap for setting case in various ways.") 815 "A keymap for setting case in various ways.")
816 (global-set-key (kbd "C-c c") case-map) 816 (global-set-key (kbd "C-c c") case-map)
817
818 (defvar lookup-map (make-sparse-keymap)
819 "A keymap for looking up things.")
820 (global-set-key (kbd "C-c l") lookup-map)
817 821
818 (:global "M-=" count-words 822 (:global "M-=" count-words
819 "C-w" kill-region-or-backward-word 823 "C-w" kill-region-or-backward-word
@@ -1660,6 +1664,9 @@ browser defined in `browse-url-secondary-browser-function'."
1660 (persistent-scratch-mode +1)))) 1664 (persistent-scratch-mode +1))))
1661 (buffer-list))) 1665 (buffer-list)))
1662 1666
1667(setup (:straight powerthesaurus)
1668 (:global (kbd "C-c l t") #'powerthesaurus-lookup-word-dwim))
1669
1663(setup (:straight restart-emacs) 1670(setup (:straight restart-emacs)
1664 (defun emacs-upgrade (&optional update-packages) 1671 (defun emacs-upgrade (&optional update-packages)
1665 "Pull config, upgrade packages, restart Emacs." 1672 "Pull config, upgrade packages, restart Emacs."