Compare commits
No commits in common. "6a246e871244d36ef9a369ac2d60a12b0d45d6cf" and "c40e260a05a802b28f11265ba3f074fa22e4c5c4" have entirely different histories.
6a246e8712
...
c40e260a05
|
@ -283,7 +283,6 @@ numbers are disabled. For relative line numbers, set this to ~relative~.
|
||||||
tex-indent-arg 3
|
tex-indent-arg 3
|
||||||
tex-indent-item 3
|
tex-indent-item 3
|
||||||
tex-indent-basic 3
|
tex-indent-basic 3
|
||||||
typst-ts-mode-indent-offset 2
|
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -317,6 +316,7 @@ Here we set the default shell to ~bash~ but the vterm shell to the system
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! smart-tabs-mode
|
(use-package! smart-tabs-mode
|
||||||
:config
|
:config
|
||||||
|
(print! "Configuring smart-tabs-mode")
|
||||||
(smart-tabs-insinuate
|
(smart-tabs-insinuate
|
||||||
'c 'c++
|
'c 'c++
|
||||||
'java
|
'java
|
||||||
|
@ -356,6 +356,7 @@ Note that ~onsave~ was intentionally turned off because it messes with version c
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(after! format
|
(after! format
|
||||||
|
(print! "Configuring (after! format ...)")
|
||||||
'(not
|
'(not
|
||||||
emacs-lisp-mode
|
emacs-lisp-mode
|
||||||
sql-mode ; Broken
|
sql-mode ; Broken
|
||||||
|
@ -370,6 +371,7 @@ Note that ~onsave~ was intentionally turned off because it messes with version c
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(after! flyspell
|
(after! flyspell
|
||||||
|
(print! "Configuring (after! flyspell ...)")
|
||||||
(setq flyspell-default-dictionary "english"))
|
(setq flyspell-default-dictionary "english"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -480,13 +482,6 @@ removed.
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Julia
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(add-hook 'julia-mode-hook (lambda ()
|
|
||||||
(setq tab-width 4)))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
*** LaTeX
|
*** LaTeX
|
||||||
|
|
||||||
The target indentation style of ~LaTeX~ is as follows:
|
The target indentation style of ~LaTeX~ is as follows:
|
||||||
|
@ -549,6 +544,7 @@ introduced.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(after! latex
|
(after! latex
|
||||||
|
(print! "Configuring (after! latex ...)")
|
||||||
(add-hook 'tex-mode-hook #'custom/common-program-hook)
|
(add-hook 'tex-mode-hook #'custom/common-program-hook)
|
||||||
(add-hook 'LaTeX-mode-hook #'custom/common-program-hook)
|
(add-hook 'LaTeX-mode-hook #'custom/common-program-hook)
|
||||||
(setq-default TeX-electric-sub-and-superscript nil)
|
(setq-default TeX-electric-sub-and-superscript nil)
|
||||||
|
@ -678,19 +674,7 @@ Add the necessary hooks for LilyPond mode.
|
||||||
(package! typst-ts-mode :recipe (
|
(package! typst-ts-mode :recipe (
|
||||||
:type git :host codeberg :repo "meow_king/typst-ts-mode"))
|
:type git :host codeberg :repo "meow_king/typst-ts-mode"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun custom/typst-hook ()
|
|
||||||
(display-line-numbers-mode)
|
|
||||||
(display-fill-column-indicator-mode)
|
|
||||||
(setq
|
|
||||||
indent-tabs-mode t
|
|
||||||
tab-width 2
|
|
||||||
standard-indent 2)
|
|
||||||
(smart-tabs-mode-enable)
|
|
||||||
)
|
|
||||||
(after! typst-ts-mode
|
|
||||||
(add-hook 'typst-ts-mode-hook #'custom/typst-hook))
|
|
||||||
(map! :after typst-ts-mode
|
(map! :after typst-ts-mode
|
||||||
:localleader
|
:localleader
|
||||||
:map typst-ts-mode-map
|
:map typst-ts-mode-map
|
||||||
|
@ -699,12 +683,6 @@ Add the necessary hooks for LilyPond mode.
|
||||||
:desc "Compile & Preview" "P" #'typst-ts-compile-and-preview
|
:desc "Compile & Preview" "P" #'typst-ts-compile-and-preview
|
||||||
:desc "Watch start" "w" #'typst-ts-watch-start
|
:desc "Watch start" "w" #'typst-ts-watch-start
|
||||||
:desc "Watch stop" "W" #'typst-ts-watch-stop
|
:desc "Watch stop" "W" #'typst-ts-watch-stop
|
||||||
(:prefix ("h" . "Heading")
|
|
||||||
:desc "Left" "h" #'typst-ts-mode-heading-left
|
|
||||||
:desc "Right" "l" #'typst-ts-mode-heading-right
|
|
||||||
:desc "Up" "k" #'typst-ts-mode-heading-up
|
|
||||||
:desc "Down" "j" #'typst-ts-mode-heading-down
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
json ; At least it ain't XML
|
json ; At least it ain't XML
|
||||||
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
||||||
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
(julia +tree-sitter +snail) ; a better, faster MATLAB
|
(julia +lsp) ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
(latex +latexmk +lsp) ; writing papers in Emacs has never been so fun
|
(latex +latexmk +lsp) ; 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
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
|
|
||||||
:app
|
:app
|
||||||
calendar
|
calendar
|
||||||
;;emms
|
emms
|
||||||
everywhere ; *leave* Emacs!? You must be joking
|
everywhere ; *leave* Emacs!? You must be joking
|
||||||
;;irc ; how neckbeards socialize
|
;;irc ; how neckbeards socialize
|
||||||
;;(rss +org) ; emacs as an RSS reader
|
;;(rss +org) ; emacs as an RSS reader
|
||||||
|
|
Loading…
Reference in New Issue