Compare commits

..

2 Commits

Author SHA1 Message Date
exu
6e9675a8ec Update doom config 2023-11-24 16:29:50 +01:00
exu
618cdd1478 Sort packages more 2023-11-24 16:29:44 +01:00
3 changed files with 40 additions and 19 deletions

View File

@ -99,3 +99,7 @@
(add-hook! 'python-mode-hook 'auto-virtualenv-set-virtualenv) (add-hook! 'python-mode-hook 'auto-virtualenv-set-virtualenv)
(add-hook! 'projectile-after-switch-project-hook 'auto-virtualenv-set-virtualenv) ;; If using projectile (add-hook! 'projectile-after-switch-project-hook 'auto-virtualenv-set-virtualenv) ;; If using projectile
) )
;; python debugging
(after! dap-mode
(setq dap-python-debugger 'debugpy))

View File

@ -29,13 +29,13 @@
;;deft ; notational velocity for Emacs ;;deft ; notational velocity for Emacs
doom ; what makes DOOM look the way it does doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs doom-dashboard ; a nifty splash screen for Emacs
;doom-quit ; DOOM quit-message prompts when you quit Emacs ;;doom-quit ; DOOM quit-message prompts when you quit Emacs
;(emoji +unicode) ; 🙂 ;;(emoji +unicode) ; 🙂
;;fill-column ; a `fill-column' indicator ;;fill-column ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW/OHGODTHEHORROR hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW/OHGODTHEHORROR
;;hydra ;;hydra
indent-guides ; highlighted indent columns indent-guides ; highlighted indent columns
ligatures ; ligatures and symbols to make your code pretty again ;;ligatures ; ligatures and symbols to make your code pretty again
minimap ; show a map of the code on the side minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions ;;nav-flash ; blink cursor line after big motions
@ -53,8 +53,8 @@
: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
;;god ; run Emacs commands without modifier keys ;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim ;;lispy ; vim for lisp, for people who don't like vim
@ -62,7 +62,7 @@
;;objed ; text object editing for the innocent ;;objed ; text object editing for the innocent
;;parinfer ; turn lisp into python, sort of ;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates ;;rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to ;;snippets ; my elves. They type so I don't have to
word-wrap ; soft wrapping with language-aware indent word-wrap ; soft wrapping with language-aware indent
:emacs :emacs
@ -81,19 +81,19 @@
:checkers :checkers
syntax ; tasing you for every semicolon you forget syntax ; tasing you for every semicolon you forget
;;(spell +flyspell) ; tasing you for misspelling mispelling ;;(spell +flyspell) ; tasing you for misspelling mispelling
;;grammar ; tasing grammar mistake every you make grammar ; tasing grammar mistake every you make
:tools :tools
ansible ansible
debugger ; FIXME stepping through code, to help you add bugs (debugger +lsp) ; FIXME stepping through code, to help you add bugs
;;direnv ;;direnv
docker (docker +lsp)
;;editorconfig ; let someone else argue about tabs vs spaces editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs ;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls) ;;(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists ;;gist ; interacting with github gists
;;lookup ; navigate your code and its documentation lookup ; navigate your code and its documentation
lsp (lsp +peek)
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs ;;make ; run make tasks from Emacs
;;pass ; password manager for nerds ;;pass ; password manager for nerds
@ -142,7 +142,7 @@
;;factor ;;factor
;;ledger ; an accounting system in Emacs ;;ledger ; an accounting system in Emacs
;;lua ; one-based indices? one-based indices ;;lua ; one-based indices? one-based indices
(markdown +grip) ; writing docs for people to ignore markdown ; writing docs for people to ignore
nim ; python + lisp at the speed of c nim ; python + lisp at the speed of c
nix ; I hereby declare "nix geht mehr!" nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel ;;ocaml ; an objective camel

View File

@ -330,10 +330,27 @@ fi
#devtools #devtools
if [ $in_doomemacs -eq 1 ]; then if [ $in_doomemacs -eq 1 ]; then
echo "Installing doom-emacs" echo "Installing doom-emacs"
#paru -S --needed git emacs ripgrep fd pandoc shellcheck python-pipenv python-isort python-pytest python-rednose pychecker texlive-core python-black clang # doom emacs
paru -S --needed git emacs-wayland ripgrep fd pandoc shellcheck python-pipenv python-isort python-pytest texlive-core python-black clang sudo pacman -S --needed emacs-wayland git
#pip install grip # unsorted
#npm i bash-language-server paru -S --needed fd pandoc python-pipenv python-isort python-pytest texlive-core clang
# python
sudo pacman -S --needed pyright python-black python-debugpy
# shell
sudo pacman -S --needed shellcheck bash-language-server shfmt
# markdown
sudo pacman -S --needed prettier
# debugger
sudo pacman -S --needed nodejs lldb lldb-mi gdb unzip
# docker
paru -S --needed dockerfile-language-server
# lookup
sudo pacman -S --needed ripgrep
# terraform
sudo pacman -S --needed terraform
# grammar
sudo pacman -S --needed languagetool
# rest of installation
rm -rf ~/.config/emacs rm -rf ~/.config/emacs
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install ~/.config/emacs/bin/doom install