aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-22 06:29:11 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-22 06:29:11 +0000
commit9631244e9bfef4d00f309638f40915c801b88cd7 (patch)
tree84734da4f38f137a6a81532c0cc4cc94e3b94c5a /Emacs
parentc706c939b3247badcc6538dccc9896c862c0adb3 (diff)
downloaddotfiles-9631244e9bfef4d00f309638f40915c801b88cd7.tar.gz
dotfiles-9631244e9bfef4d00f309638f40915c801b88cd7.tar.bz2
dotfiles-9631244e9bfef4d00f309638f40915c801b88cd7.zip
(Emacs)~calc-mode now has display record and uses evil-collection
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org13
1 files changed, 10 insertions, 3 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 0609120..82ac06f 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1475,19 +1475,26 @@ for it.
Surprise, surprise Emacs comes with a calculator. At this point there
is little that surprises me in terms of Emacs' amazing capabilities.
-=calc-mode= is a calculator system within Emacs that provides an
-incredible array of mathematical operations. It uses reverse polish
+=calc-mode= is a calculator system within Emacs that provides a
+diverse array of mathematical operations. It uses reverse polish
notation to do calculations (though there is a standard infix
algebraic notation mode) and provides incredible utilities.
#+begin_src emacs-lisp
(use-package calc
:straight nil
+ :display
+ ("*Calculator*"
+ (display-buffer-at-bottom)
+ (window-height . 0.18))
:general
(leader
"ac" #'calc)
:init
- (setq calc-algebraic-mode t))
+ (setq calc-algebraic-mode t)
+ :config
+ (with-eval-after-load "evil-collection"
+ (evil-collection-calc-setup)))
#+end_src
*** Calctex
=calc-mode= also has a 3rd party package called =calctex=. It renders