diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-14 04:05:16 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-14 16:18:13 +0100 |
commit | fef89fbbf4c0e08a5177fa914b64ca5b41075e99 (patch) | |
tree | f501aba8e022a090daf6d49a766672623066a659 | |
parent | 2aa56a1d2096719c67e9db90d01b6948d846958e (diff) | |
download | dotfiles-fef89fbbf4c0e08a5177fa914b64ca5b41075e99.tar.gz dotfiles-fef89fbbf4c0e08a5177fa914b64ca5b41075e99.tar.bz2 dotfiles-fef89fbbf4c0e08a5177fa914b64ca5b41075e99.zip |
+Calc configuration +calctex
Setting up hooks and keymaps, as well as radians mode for calc. Calctex
mode makes calc look nicer, some eyecandy
-rw-r--r-- | Doom/.doom.d/org/config.org | 17 | ||||
-rw-r--r-- | Doom/.doom.d/org/packages.org | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index 285c9e3..3f1155c 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -188,6 +188,23 @@ std::string` which isn't supported in standard doom. So I add support for it. :true "true" :null "nullptr")) #+END_SRC +** Calc +*** Configuration +#+BEGIN_SRC elisp +(use-package! calc + :config + (setq calc-angle-mode 'rad) + (map! + :leader + :desc "Calc" ":" #'calc)) +#+END_SRC +*** Calctex +Added some calc mode config. An incredibly powerful tool. +#+BEGIN_SRC elisp +(use-package calctex + :defer t + :hook 'calc-mode) +#+END_SRC * Language Config Configuration for various languages which I feel can be useful ** C-style languages diff --git a/Doom/.doom.d/org/packages.org b/Doom/.doom.d/org/packages.org index 33e905f..1d73af7 100644 --- a/Doom/.doom.d/org/packages.org +++ b/Doom/.doom.d/org/packages.org @@ -32,6 +32,10 @@ Every now and then I like to use base16 themes, particularly when zen coding. #+BEGIN_SRC elisp (package! base16-theme) #+END_SRC +** calc-tex +#+BEGIN_SRC elisp +(package! calctex :recipe (:host github :repo "https://github.com/johnbcoughlin/calctex")) +#+END_SRC * Org-mode ** Fragtog Fragtog allows for latex segments to be instantly compiled and only when you hover over them will you get the code, similar to prettify-symbols. |