| | |
| | | (global-set-key (kbd "C-c e i") 'init-visit)
|
| | | #+END_SRC
|
| | |
|
| | | *** Go to early-init.el
|
| | | #+BEGIN_SRC emacs-lisp
|
| | | (defun early-init-visit ()
|
| | | (interactive)
|
| | | (find-file "~/.emacs.d/early-init.el"))
|
| | | (global-set-key (kbd "C-c e e") 'early-init-visit)
|
| | | #+END_SRC
|
| | |
|
| | | *** Reload configuration
|
| | | #+BEGIN_SRC emacs-lisp
|
| | | (defun config-reload ()
|
| | |
| | | #+BEGIN_SRC emacs-lisp
|
| | | (use-package tex
|
| | | :ensure auctex
|
| | | :straight auctex
|
| | | :config
|
| | | (setq TeX-auto-save t
|
| | | TeX-parse-self t
|
| | |
| | | *** MATLAB
|
| | | Mode for editing MATLAB m-files.
|
| | | #+BEGIN_SRC emacs-lisp
|
| | | (use-package matlab
|
| | | :ensure matlab-mode
|
| | | :config
|
| | | (autoload 'matlab-mode "matlab" "Matlab Editing Mode" t)
|
| | | (add-to-list
|
| | | 'auto-mode-alist
|
| | | '("\\.m$" . matlab-mode))
|
| | | (setq matlab-indent-function t)
|
| | | (setq matlab-shell-command "matlab")
|
| | | (matlab-cedet-setup)
|
| | | (add-to-list 'company-backends 'company-matlab-shell))
|
| | | (use-package matlab
|
| | | :ensure matlab-mode
|
| | | :straight matlab-mode
|
| | | :config
|
| | | (autoload 'matlab-mode "matlab" "Matlab Editing Mode" t)
|
| | | (add-to-list
|
| | | 'auto-mode-alist
|
| | | '("\\.m$" . matlab-mode))
|
| | | (setq matlab-indent-function t)
|
| | | (setq matlab-shell-command "matlab")
|
| | | (matlab-cedet-setup)
|
| | | (add-to-list 'company-backends 'company-matlab-shell))
|
| | | #+END_SRC
|
| | |
|
| | | *** COMMENT MIPS
|
| | |
| | | (add-to-list 'lsp-enabled-clients 'jedi))
|
| | | #+END_SRC
|
| | | * Org mode
|
| | | ** Up to date org
|
| | | Pull the latest org mode from the repository, rather than the org which comes with emacs.
|
| | | #+BEGIN_SRC emacs-lisp
|
| | | (use-package org
|
| | | :pin gnu)
|
| | | #+END_SRC
|
| | |
|
| | | ** Small tweaks
|
| | | Small quality of life changes to org-mode.
|
| | | #+BEGIN_SRC emacs-lisp
|
| | |
| | | #+BEGIN_SRC emacs-lisp
|
| | | (use-package emms-setup
|
| | | :ensure emms
|
| | | :straight emms
|
| | | :init
|
| | | (add-to-list 'load-path "~/elisp/emms/")
|
| | | :config
|