emacs: add sage babel integration
This commit is contained in:
@@ -9,43 +9,14 @@ set statusbar-v-padding 0
|
||||
set show-scrollbars false
|
||||
|
||||
# colors
|
||||
set notification-error-bg "#fafafa" # bg
|
||||
set notification-error-fg "#9d0006" # bright:red
|
||||
set notification-warning-bg "#fafafa" # bg
|
||||
set notification-warning-fg "#b57614" # bright:yellow
|
||||
set notification-bg "#fafafa" # bg
|
||||
set notification-fg "#79740e" # bright:green
|
||||
|
||||
set completion-bg "#fafafa" # bg
|
||||
set completion-fg "#3c3836" # fg
|
||||
set completion-group-bg "#fafafa" # bg1
|
||||
set completion-group-fg "#928374" # gray
|
||||
set completion-highlight-bg "#689d6a" # aqua
|
||||
set completion-highlight-fg "#fafafa gs" # bg2
|
||||
|
||||
# Define the color in index mode
|
||||
set index-bg "#fafafa" # bg2
|
||||
set index-fg "#3c3836" # fg
|
||||
set index-active-bg "#689d6a" # aqua
|
||||
set index-active-fg "#ebdbb2" # bg2
|
||||
set completion-fg "#5c6773" # fg
|
||||
|
||||
set inputbar-bg "#fafafa" # bg
|
||||
set inputbar-fg "#3c3836" # fg
|
||||
set inputbar-fg "#5c6773" # fg
|
||||
|
||||
set statusbar-bg "#fafafa" # bg
|
||||
set statusbar-fg "#3c3836" # fg
|
||||
|
||||
set highlight-color "#b57614" # bright:yellow
|
||||
set highlight-active-color "#af3a03" # bright:orange
|
||||
set statusbar-fg "#5c6773" # fg
|
||||
|
||||
set default-bg "#fafafa" # bg
|
||||
set default-fg "#3c3836" # fg
|
||||
set render-loading true
|
||||
set render-loading-bg "#fafafa" # bg
|
||||
set render-loading-fg "#3c3836" # fg
|
||||
|
||||
# Recolor book content's color
|
||||
set recolor-lightcolor "#fafafa" # bg
|
||||
set recolor-darkcolor "#3c3836" # fg
|
||||
set recolor "true"
|
||||
set recolor-keephue "true"
|
||||
set default-fg "#5c6773" # fg
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
;;; KEYBIND STUFF
|
||||
;;;
|
||||
|
||||
|
||||
;; General
|
||||
(use-package general
|
||||
:straight t
|
||||
@@ -267,7 +268,7 @@
|
||||
(markdown-mode . dtrt-indent-mode))
|
||||
|
||||
;; Indentation for C
|
||||
(setq-default c-basic-offset 8)
|
||||
;(setq-default c-basic-offset 8)
|
||||
|
||||
;; Auto parenthesis
|
||||
(use-package electric-pair
|
||||
@@ -298,6 +299,7 @@
|
||||
;;; IVY
|
||||
;;;
|
||||
|
||||
|
||||
;; Completetion frontend for counsel
|
||||
(use-package ivy
|
||||
:straight t
|
||||
@@ -345,7 +347,6 @@
|
||||
"oa" 'org-agenda
|
||||
"oca" 'org-capture
|
||||
"oes" 'org-edit-src-code
|
||||
"obe" 'org-babel-execute-src-block
|
||||
"oti" 'org-toggle-inline-images
|
||||
"odi" 'org-display-inline-images)
|
||||
:hook
|
||||
@@ -365,8 +366,9 @@
|
||||
(define-key evil-normal-state-map (kbd "TAB") 'org-cycle)
|
||||
(set-face-attribute 'org-document-title nil :font "Product Sans" :weight 'bold :inherit 'default :height 250)
|
||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)
|
||||
org-hidden-keywords '(title)
|
||||
org-image-actual-width nil
|
||||
org-hidden-keywords '(title) ; hide title
|
||||
org-startup-with-inline-images t
|
||||
org-image-actual-width nil ; rescale inline images
|
||||
org-directory "~/org"
|
||||
org-agenda-files (quote ("~/org"))
|
||||
org-ellipsis " ⮷"
|
||||
@@ -390,6 +392,7 @@
|
||||
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
||||
(org-babel-do-load-languages 'org-babel-load-languages '((python . t)
|
||||
(shell . t)
|
||||
(haskell . t)
|
||||
(C . t)
|
||||
(dot . t))))
|
||||
|
||||
@@ -443,6 +446,14 @@
|
||||
:config
|
||||
(setq graphviz-dot-indent-width 4))
|
||||
|
||||
;; Sagemath for university
|
||||
(use-package sage-shell-mode
|
||||
:straight t)
|
||||
|
||||
;; Sagemath babel integration
|
||||
(use-package ob-sagemath
|
||||
:straight t)
|
||||
|
||||
|
||||
|
||||
;;;
|
||||
|
||||
Reference in New Issue
Block a user