parent
403f4bf1fa
commit
db597bbf94
|
@ -0,0 +1 @@
|
|||
config.el
|
37
config.el
37
config.el
|
@ -1,37 +0,0 @@
|
|||
(setq doom-theme 'doom-monokai-pro)
|
||||
|
||||
(setq doom-font (font-spec :family "Blex Mono Nerd Font" :size 12)
|
||||
doom-big-font (font-spec :family "Blex Mono Nerd Font" :size 24)
|
||||
doom-variable-pitch-font (font-spec :family "Blex Mono Nerd Font" :size 12)
|
||||
doom-unicode-font (font-spec :family "Blex Mono Nerd Font")
|
||||
doom-serif-font (font-spec :family "Blex Mono Nerd Font" :size 12 :weight 'light))
|
||||
|
||||
(require 'quarto-mode)
|
||||
|
||||
(setq TeX-quote-after-quote t)
|
||||
|
||||
(setq cdlatex-math-symbol-prefix [f12])
|
||||
|
||||
(eval-after-load "ox-latex"
|
||||
'(add-to-list 'org-latex-classes
|
||||
'("scrartcl" "\\documentclass{scrartcl}"
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
|
||||
|
||||
(setq org-latex-compiler "lualatex")
|
||||
|
||||
(setq org-latex-listings 'minted
|
||||
org-latex-packages-alist '(("" "minted"))
|
||||
org-latex-pdf-process
|
||||
'("lualatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
||||
"lualatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
||||
|
||||
(setq org-startup-with-latex-preview nil)
|
||||
|
||||
(add-hook 'window-setup-hook 'toggle-frame-maximized t)
|
||||
|
||||
(require 'conda)
|
||||
(conda-env-initialize-interactive-shells)
|
19
config.org
19
config.org
|
@ -3,10 +3,6 @@
|
|||
#+date: 2023-08-10
|
||||
|
||||
* Doom theme
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(setq doom-theme 'doom-monokai-pro)
|
||||
#+end_src
|
||||
|
||||
** Use nerd-font in Emacs (for better support in vterm to liquidprompt)
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(setq doom-font (font-spec :family "Blex Mono Nerd Font" :size 12)
|
||||
|
@ -21,15 +17,6 @@
|
|||
|
||||
** Quarto
|
||||
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
;; in $DOOMDIR/packages.el
|
||||
(package! quarto-mode)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(require 'quarto-mode)
|
||||
#+end_src
|
||||
|
||||
** LaTeX
|
||||
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
|
@ -117,9 +104,3 @@ systemctl --user enable --now emacs
|
|||
|
||||
#+RESULTS:
|
||||
|
||||
|
||||
** Clingo Logical Programmint / Answer Set Programming
|
||||
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
|
||||
#+end_src
|
||||
|
|
72
init.el
72
init.el
|
@ -28,27 +28,27 @@
|
|||
vertico ; the search engine of the future
|
||||
|
||||
:ui
|
||||
deft ; notational velocity for Emacs
|
||||
;;deft ; notational velocity for Emacs
|
||||
doom ; what makes DOOM look the way it does
|
||||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
(emoji +unicode) ; 🙂
|
||||
;;(emoji +unicode) ; 🙂
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
hydra
|
||||
indent-guides ; highlighted indent columns
|
||||
ligatures ; ligatures and symbols to make your code pretty again
|
||||
minimap ; show a map of the code on the side
|
||||
;;hydra
|
||||
;;indent-guides ; highlighted indent columns
|
||||
;;ligatures ; ligatures and symbols to make your code pretty again
|
||||
;;minimap ; show a map of the code on the side
|
||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||
;;nav-flash ; blink cursor line after big motions
|
||||
neotree ; a project drawer, like NERDTree for vim
|
||||
;;neotree ; a project drawer, like NERDTree for vim
|
||||
ophints ; highlight the region an operation acts on
|
||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||
tabs ; a tab bar for Emacs
|
||||
;;treemacs ; a project drawer, like neotree but cooler
|
||||
unicode ; extended unicode support for various languages
|
||||
treemacs ; a project drawer, like neotree but cooler
|
||||
;;unicode ; extended unicode support for various languages
|
||||
(vc-gutter +pretty) ; vcs diff in the fringe
|
||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||
window-select ; visually switch windows
|
||||
;;window-select ; visually switch windows
|
||||
workspaces ; tab emulation, persistence & separate workspaces
|
||||
;;zen ; distraction-free coding or writing
|
||||
|
||||
|
@ -56,20 +56,20 @@
|
|||
(evil +everywhere); come to the dark side, we have cookies
|
||||
file-templates ; auto-snippets for empty files
|
||||
fold ; (nigh) universal code folding
|
||||
(format +onsave) ; automated prettiness
|
||||
;;(format +onsave) ; automated prettiness
|
||||
;;god ; run Emacs commands without modifier keys
|
||||
;;lispy ; vim for lisp, for people who don't like vim
|
||||
multiple-cursors ; editing in many places at once
|
||||
;;multiple-cursors ; editing in many places at once
|
||||
;;objed ; text object editing for the innocent
|
||||
;;parinfer ; turn lisp into python, sort of
|
||||
;;rotate-text ; cycle region at point between text candidates
|
||||
snippets ; my elves. They type so I don't have to
|
||||
;;word-wrap ; soft wrapping with language-aware indent
|
||||
file-templates
|
||||
|
||||
:emacs
|
||||
dired ; making dired pretty [functional]
|
||||
electric ; smarter, keyword-based electric-indent
|
||||
ibuffer ; interactive buffer management
|
||||
;;ibuffer ; interactive buffer management
|
||||
undo ; persistent, smarter undo for your inevitable mistakes
|
||||
vc ; version-control and Emacs, sitting in a tree
|
||||
|
||||
|
@ -81,37 +81,37 @@
|
|||
|
||||
:checkers
|
||||
syntax ; tasing you for every semicolon you forget
|
||||
(spell +flyspell) ; tasing you for misspelling mispelling
|
||||
grammar ; tasing grammar mistake every you make
|
||||
;;(spell +flyspell) ; tasing you for misspelling mispelling
|
||||
;;grammar ; tasing grammar mistake every you make
|
||||
|
||||
:tools
|
||||
;;ansible
|
||||
biblio ; Writes a PhD for you (citation needed)
|
||||
;;biblio ; Writes a PhD for you (citation needed)
|
||||
;;collab ; buffers with friends
|
||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||
;;direnv
|
||||
;;docker
|
||||
editorconfig ; let someone else argue about tabs vs spaces
|
||||
ein ; tame Jupyter notebooks with emacs
|
||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||
;;ein ; tame Jupyter notebooks with emacs
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
gist ; interacting with github gists
|
||||
;;gist ; interacting with github gists
|
||||
lookup ; navigate your code and its documentation
|
||||
lsp ; M-x vscode
|
||||
magit ; a git porcelain for Emacs
|
||||
make ; run make tasks from Emacs
|
||||
;;make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
pdf ; pdf enhancements
|
||||
;;pdf ; pdf enhancements
|
||||
;;prodigy ; FIXME managing external services & code builders
|
||||
;;rgb ; creating color strings
|
||||
;;taskrunner ; taskrunner for all your projects
|
||||
;;terraform ; infrastructure as code
|
||||
;;tmux ; an API for interacting with tmux
|
||||
tree-sitter ; syntax and parsing, sitting in a tree...
|
||||
;;tree-sitter ; syntax and parsing, sitting in a tree...
|
||||
;;upload ; map local to remote projects via ssh/ftp
|
||||
|
||||
:os
|
||||
(:if IS-MAC macos) ; improve compatibility with macOS
|
||||
tty ; improve the terminal Emacs experience
|
||||
;;(:if IS-MAC macos) ; improve compatibility with macOS
|
||||
;;tty ; improve the terminal Emacs experience
|
||||
|
||||
:lang
|
||||
;;agda ; types of types of types of types...
|
||||
|
@ -132,13 +132,13 @@
|
|||
ess ; emacs speaks statistics
|
||||
;;factor
|
||||
;;faust ; dsp, but you get to keep your soul
|
||||
fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER)
|
||||
;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER)
|
||||
;;fsharp ; ML stands for Microsoft's Language
|
||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||
;;gdscript ; the language you waited for
|
||||
(go +lsp) ; the hipster dialect
|
||||
(graphql +lsp) ; Give queries a REST
|
||||
(haskell +lsp) ; a language that's lazier than I am
|
||||
;;(go +lsp) ; the hipster dialect
|
||||
;;(graphql +lsp) ; Give queries a REST
|
||||
;;(haskell +lsp) ; a language that's lazier than I am
|
||||
;;hy ; readability of scheme w/ speed of python
|
||||
;;idris ; a language you can depend on
|
||||
json ; At least it ain't XML
|
||||
|
@ -146,7 +146,7 @@
|
|||
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||
julia ; a better, faster MATLAB
|
||||
;;kotlin ; a better, slicker Java(Script)
|
||||
(latex +latexmk +cdlatex) ; writing papers in Emacs has never been so fun
|
||||
latex ; 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
|
||||
|
@ -154,8 +154,8 @@
|
|||
;;nim ; python + lisp at the speed of c
|
||||
;;nix ; I hereby declare "nix geht mehr!"
|
||||
ocaml ; an objective camel
|
||||
(org +brain +hugo +journal +pandoc +roam2 +hugo +jupyter +noter +pretty +present) ; organize your plain life in plain text
|
||||
php ; perl's insecure younger brother
|
||||
org ; organize your plain life in plain text
|
||||
;;php ; perl's insecure younger brother
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
;;purescript ; javascript, but functional
|
||||
python ; beautiful is better than ugly
|
||||
|
@ -163,17 +163,17 @@
|
|||
;;racket ; a DSL for DSLs
|
||||
raku ; the artist formerly known as perl6
|
||||
;;rest ; Emacs as a REST client
|
||||
rst ; ReST in peace
|
||||
;;rst ; ReST in peace
|
||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
scala ; java, but good
|
||||
(scheme +guile) ; a fully conniving family of lisps
|
||||
;;(scheme +guile) ; a fully conniving family of lisps
|
||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||
;;sml
|
||||
;;solidity ; do you need a blockchain? No.
|
||||
;;swift ; who asked for emoji variables?
|
||||
;;terra ; Earth and Moon in alignment for performance.
|
||||
;;web ; the tubes
|
||||
web ; the tubes
|
||||
yaml ; JSON, but readable
|
||||
;;zig ; C, but simpler
|
||||
|
||||
|
@ -185,7 +185,7 @@
|
|||
:app
|
||||
;;calendar
|
||||
;;emms
|
||||
everywhere ; *leave* Emacs!? You must be joking
|
||||
;;everywhere ; *leave* Emacs!? You must be joking
|
||||
;;irc ; how neckbeards socialize
|
||||
;;(rss +org) ; emacs as an RSS reader
|
||||
;;twitter ; twitter client https://twitter.com/vnought
|
||||
|
|
|
@ -53,17 +53,10 @@
|
|||
|
||||
(package! org-elp)
|
||||
|
||||
(package! fortune-cookie)
|
||||
|
||||
(package! conda)
|
||||
|
||||
(package! pasp-mode)
|
||||
|
||||
(package! ob-pasp
|
||||
;; :recipe (:host github :repo "UncleSamulus/ob-pasp")
|
||||
:recipe (:local-repo "/home/sortion/Documents/Projects/ob-pasp/"))
|
||||
:recipe (:host github :repo "UncleSamulus/ob-pasp"))
|
||||
|
||||
(package! ox-hugo)
|
||||
|
||||
(package! ob-scala
|
||||
:recipe (:host github :repo "reactormonk/ob-scala"))
|
||||
|
|
Loading…
Reference in New Issue