UKVJ7HJMKO4XDQGIUFPCFZASXFL2FRPXE5LU72YJYB3Q6WMMYYOAC
mkdir -p ~/.config/{emacs,pijul,wezterm,fish,environment.d,i3,nushell,rclone,tridactylrc}/
mkdir -p ~/.config/{emacs,pijul,wezterm,fish,environment.d,i3,nushell,rclone,tridactylrc,fontconfig}/
ln -svf $PWD/init.el ~/.config/emacs/
ln -svf $PWD/_tridactylrc ~/.config/tridactyl/tridactylrc
ln -svf $PWD/fonts.conf ~/.config/fontconfig/
# ln -svf $PWD/wezterm.lua ~/.config/wezterm/
# mpv
mkdir -p ~/.cargo/
ln -sv $PWD/cargo.toml ~/.cargo/config.toml
'(markdown-mode markdownfmt mermaid-mode tree-sitter-langs json-mode eglot rust-mode go-mode jinja2-mode dockerfile-mode company-shell groovy-mode rainbow-delimiters yaml-mode modus-themes magit-delta use-package))
'(rustic markdown-mode markdownfmt mermaid-mode tree-sitter-langs json-mode eglot rust-mode go-mode jinja2-mode dockerfile-mode company-shell groovy-mode rainbow-delimiters yaml-mode modus-themes magit-delta use-package))
'(repeat-mode t)
(use-package rust-mode
:config (add-hook 'rust-mode-hook #'eglot))
(use-package rustic
; https://robert.kra.hn/posts/rust-emacs-setup/
:bind (:map rustic-mode-map
("M-j" . lsp-ui-imenu)
("M-?" . lsp-find-references)
("C-c C-c l" . flycheck-list-errors)
("C-c C-c a" . lsp-execute-code-action)
("C-c C-c r" . lsp-rename)
("C-c C-c q" . lsp-workspace-restart)
("C-c C-c Q" . lsp-workspace-shutdown)
("C-c C-c s" . lsp-rust-analyzer-status))
:config
;; uncomment for less flashiness
;; (setq lsp-eldoc-hook nil)
;; (setq lsp-enable-symbol-highlighting nil)
;; (setq lsp-signature-auto-activate nil)
# verify with `readelf -p .comment`