+Calc configuration +calctex
Setting up hooks and keymaps, as well as radians mode for calc. Calctex mode makes calc look nicer, some eyecandy
This commit is contained in:
@@ -188,6 +188,23 @@ std::string` which isn't supported in standard doom. So I add support for it.
|
|||||||
:true "true"
|
:true "true"
|
||||||
:null "nullptr"))
|
:null "nullptr"))
|
||||||
#+END_SRC
|
#+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
|
* Language Config
|
||||||
Configuration for various languages which I feel can be useful
|
Configuration for various languages which I feel can be useful
|
||||||
** C-style languages
|
** C-style languages
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ Every now and then I like to use base16 themes, particularly when zen coding.
|
|||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(package! base16-theme)
|
(package! base16-theme)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
** calc-tex
|
||||||
|
#+BEGIN_SRC elisp
|
||||||
|
(package! calctex :recipe (:host github :repo "https://github.com/johnbcoughlin/calctex"))
|
||||||
|
#+END_SRC
|
||||||
* Org-mode
|
* Org-mode
|
||||||
** Fragtog
|
** 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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user