mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-15 04:37:21 +00:00
gnuplot
This commit is contained in:
parent
b17429a47e
commit
b50199a4e9
1 changed files with 214 additions and 178 deletions
48
emacs.nix
48
emacs.nix
|
@ -495,6 +495,21 @@ in {
|
||||||
|
|
||||||
htmlize.enable = true;
|
htmlize.enable = true;
|
||||||
|
|
||||||
|
gnuplot = {
|
||||||
|
enable = true;
|
||||||
|
init = ''
|
||||||
|
(require 'gnuplot)
|
||||||
|
|
||||||
|
(autoload 'gnuplot-mode "gnuplot" "Gnuplot major mode" t)
|
||||||
|
(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot-mode" t)
|
||||||
|
(setq auto-mode-alist (append '(("\\.gp$" . gnuplot-mode)) auto-mode-alist))
|
||||||
|
|
||||||
|
(require 'gnuplot-context)
|
||||||
|
'';
|
||||||
|
|
||||||
|
extraPackages = [ pkgs.gnuplot ];
|
||||||
|
};
|
||||||
|
|
||||||
org-contrib.enable = true;
|
org-contrib.enable = true;
|
||||||
|
|
||||||
plantuml-mode = {
|
plantuml-mode = {
|
||||||
|
@ -534,6 +549,11 @@ in {
|
||||||
after = [ "org" ];
|
after = [ "org" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ob-gnuplot = {
|
||||||
|
enable = true;
|
||||||
|
after = [ "org" ];
|
||||||
|
};
|
||||||
|
|
||||||
ob-matlab = {
|
ob-matlab = {
|
||||||
enable = true;
|
enable = true;
|
||||||
after = [ "org" ];
|
after = [ "org" ];
|
||||||
|
@ -566,23 +586,39 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
auctex = {
|
latex = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = epkgs: epkgs.auctex;
|
||||||
|
hook = [''
|
||||||
|
(LaTeX-mode
|
||||||
|
. (lambda ()
|
||||||
|
(turn-on-reftex)))
|
||||||
|
''];
|
||||||
init = ''
|
init = ''
|
||||||
; -*-emacs-lisp-*-
|
(setq TeX-PDF-mode t
|
||||||
(setq TeX-auto-save t)
|
TeX-auto-save t
|
||||||
(setq TeX-parse-self t)
|
TeX-parse-self t)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
company-math = {
|
company-math = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
after = [ "company" ];
|
||||||
|
|
||||||
init = ''
|
init = ''
|
||||||
; -*-emacs-lisp-*-
|
; -*-emacs-lisp-*-
|
||||||
(add-to-list 'company-backends 'company-math-symbols-unicode)
|
(add-to-list 'company-backends 'company-math-symbols-unicode)
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
cdlatex = {
|
||||||
|
enable = true;
|
||||||
|
after = [ "latex" ];
|
||||||
|
init = ''
|
||||||
|
(add-hook 'LaTeX-mode-hook #'turn-on-cdlatex)
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
org-download = {
|
org-download = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -679,7 +715,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
meow = {
|
meow = {
|
||||||
enable = true;
|
enable = false;
|
||||||
init = ''
|
init = ''
|
||||||
; -*-emacs-lisp-*-
|
; -*-emacs-lisp-*-
|
||||||
(defun meow-setup ()
|
(defun meow-setup ()
|
||||||
|
|
Loading…
Add table
Reference in a new issue