From 31f0c9b8759f66b32a69afde42f0b7089cac4fbb Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 2 Oct 2023 05:33:55 +0100 Subject: (Emacs)+dict bindings --- Emacs/.config/emacs/config.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Emacs/.config') 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 -- cgit v1.2.3-13-gbd6f