diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-02 05:33:55 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-02 05:33:55 +0100 |
commit | 31f0c9b8759f66b32a69afde42f0b7089cac4fbb (patch) | |
tree | 1e2b601a1aaab0df0faec1c5cb3ca2c0d3c5128e /Emacs | |
parent | 5a5736335aea4052203eaf1c45d38206d985bafb (diff) | |
download | dotfiles-31f0c9b8759f66b32a69afde42f0b7089cac4fbb.tar.gz dotfiles-31f0c9b8759f66b32a69afde42f0b7089cac4fbb.tar.bz2 dotfiles-31f0c9b8759f66b32a69afde42f0b7089cac4fbb.zip |
(Emacs)+dict bindings
Diffstat (limited to 'Emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index aa2a844..f6b1887 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -854,15 +854,20 @@ context and easier to use. ** Thesaurus =le-thesaurus= is a great extension for quickly searching up words for synonyms or antonyms. I may need it anywhere so I bind it to all -keymaps. +keymaps. Same with dictionary searching. #+begin_src emacs-lisp (use-package le-thesaurus :straight t + :display + ("\\*Dictionary\\*" + (display-buffer-reuse-window display-buffer-same-window) + (reusable-frames . t)) :general (local-leader :keymaps 'override "[" #'le-thesaurus-get-synonyms - "]" #'le-thesaurus-get-antonyms)) + "]" #'le-thesaurus-get-antonyms + "#" #'dictionary-search)) #+end_src * Programming packages Packages that help with programming in general, providing IDE like @@ -1641,7 +1646,7 @@ Tons of stuff, namely: "/* " (+license/insert-copyright-notice) "\n\n" " * Created: " (format-time-string "%Y-%m-%d") "\n" " * Author: " user-full-name "\n" - " * Description: " _ "\n*/" + " * Description: " _ "\n*/\n" "#ifndef " str n "#define " str "\n\n" "\n\n#endif") :config (c-add-style |