mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +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;
|
||||
|
||||
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;
|
||||
|
||||
plantuml-mode = {
|
||||
|
@ -534,6 +549,11 @@ in {
|
|||
after = [ "org" ];
|
||||
};
|
||||
|
||||
ob-gnuplot = {
|
||||
enable = true;
|
||||
after = [ "org" ];
|
||||
};
|
||||
|
||||
ob-matlab = {
|
||||
enable = true;
|
||||
after = [ "org" ];
|
||||
|
@ -566,23 +586,39 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
auctex = {
|
||||
latex = {
|
||||
enable = true;
|
||||
|
||||
package = epkgs: epkgs.auctex;
|
||||
hook = [''
|
||||
(LaTeX-mode
|
||||
. (lambda ()
|
||||
(turn-on-reftex)))
|
||||
''];
|
||||
init = ''
|
||||
; -*-emacs-lisp-*-
|
||||
(setq TeX-auto-save t)
|
||||
(setq TeX-parse-self t)
|
||||
(setq TeX-PDF-mode t
|
||||
TeX-auto-save t
|
||||
TeX-parse-self t)
|
||||
'';
|
||||
};
|
||||
|
||||
company-math = {
|
||||
enable = true;
|
||||
|
||||
after = [ "company" ];
|
||||
|
||||
init = ''
|
||||
; -*-emacs-lisp-*-
|
||||
(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 = {
|
||||
enable = true;
|
||||
|
@ -679,7 +715,7 @@ in {
|
|||
};
|
||||
|
||||
meow = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
init = ''
|
||||
; -*-emacs-lisp-*-
|
||||
(defun meow-setup ()
|
||||
|
|
Loading…
Add table
Reference in a new issue