CDLaTeX Package
- Clean up comment alignment in config - Enable cdlatex package for latex - Add cdlatex TAB keybinding
This commit is contained in:
14
README.org
14
README.org
@ -26,6 +26,7 @@
|
|||||||
- [[#org-mode][Org Mode]]
|
- [[#org-mode][Org Mode]]
|
||||||
- [[#projectile][Projectile]]
|
- [[#projectile][Projectile]]
|
||||||
- [[#prettier-formatter][Prettier Formatter]]
|
- [[#prettier-formatter][Prettier Formatter]]
|
||||||
|
- [[#cdlatex][CDLaTeX]]
|
||||||
- [[#file-extension-mode-association][File Extension Mode Association]]
|
- [[#file-extension-mode-association][File Extension Mode Association]]
|
||||||
- [[#packagesel][packages.el]]
|
- [[#packagesel][packages.el]]
|
||||||
- [[#packages][Packages]]
|
- [[#packages][Packages]]
|
||||||
@ -103,7 +104,7 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
|
|||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle init.el
|
#+BEGIN_SRC emacs-lisp :tangle init.el
|
||||||
:editor
|
:editor
|
||||||
(evil +everywhere); come to the dark side, we have cookies
|
(evil +everywhere) ; come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
;;(format +onsave) ; automated prettiness
|
;;(format +onsave) ; automated prettiness
|
||||||
@ -215,7 +216,7 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
|
|||||||
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
(julia +lsp) ; a better, faster MATLAB
|
(julia +lsp) ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
latex ; writing papers in Emacs has never been so fun
|
(latex +cdlatex) ; writing papers in Emacs has never been so fun
|
||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
@ -428,6 +429,15 @@ If you use =org= and don't want your org files in the default location below, ch
|
|||||||
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*** CDLaTeX
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
(map! :map cdlatex-mode-map
|
||||||
|
:i "TAB" #'cdlatex-tab)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
|
||||||
*** File Extension Mode Association
|
*** File Extension Mode Association
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
@ -44,4 +44,7 @@
|
|||||||
|
|
||||||
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
||||||
|
|
||||||
|
(map! :map cdlatex-mode-map
|
||||||
|
:i "TAB" #'cdlatex-tab)
|
||||||
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))
|
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))
|
||||||
|
4
init.el
4
init.el
@ -38,7 +38,7 @@ workspaces ; tab emulation, persistence & separate workspaces
|
|||||||
;;zen ; distraction-free coding or writing
|
;;zen ; distraction-free coding or writing
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
(evil +everywhere); come to the dark side, we have cookies
|
(evil +everywhere) ; come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
;;(format +onsave) ; automated prettiness
|
;;(format +onsave) ; automated prettiness
|
||||||
@ -126,7 +126,7 @@ json ; At least it ain't XML
|
|||||||
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
(julia +lsp) ; a better, faster MATLAB
|
(julia +lsp) ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
latex ; writing papers in Emacs has never been so fun
|
(latex +cdlatex) ; writing papers in Emacs has never been so fun
|
||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
|
Reference in New Issue
Block a user