CDLaTeX Package

- Clean up comment alignment in config
- Enable cdlatex package for latex
- Add cdlatex TAB keybinding
This commit is contained in:
Sravan Balaji
2021-10-20 09:04:01 -04:00
parent 220ca9515a
commit 38b7a90160
3 changed files with 103 additions and 90 deletions

View File

@ -26,6 +26,7 @@
- [[#org-mode][Org Mode]]
- [[#projectile][Projectile]]
- [[#prettier-formatter][Prettier Formatter]]
- [[#cdlatex][CDLaTeX]]
- [[#file-extension-mode-association][File Extension Mode Association]]
- [[#packagesel][packages.el]]
- [[#packages][Packages]]
@ -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))))))
(julia +lsp) ; a better, faster MATLAB
;;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
;;ledger ; be audit you can be
;;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)
#+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
#+BEGIN_SRC emacs-lisp :tangle config.el

View File

@ -44,4 +44,7 @@
(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))

View File

@ -126,7 +126,7 @@ json ; At least it ain't XML
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
(julia +lsp) ; a better, faster MATLAB
;;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
;;ledger ; be audit you can be
;;lua ; one-based indices? one-based indices