Add Emacs config with install scripts for laptop and work
Shared: init.el / early-init.el with Vertico stack, Corfu, Eglot, treesit-auto, Catppuccin Mocha, doom-modeline, Magit, avy, harpoon, embark, wgrep, expand-region, envrc, org-mode, and drop-in lang loader. Lang configs split by stow target: - shared: elisp, org - laptop: C/C++, Rust, Go, LaTeX (AUCTeX + latexmk + Zathura) - work: C#, JS/TS/HTML/CSS/React (apheleia+prettier), Copilot install-personal.sh: Fedora — gcc/clang, rustup, Go, texlive, zathura install-work.sh: Ubuntu 24.04 WSL — dotnet-sdk-10.0, Node 22 via nvm, ts-ls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
7
shared/.config/emacs/lisp/langs/elisp.el
Normal file
7
shared/.config/emacs/lisp/langs/elisp.el
Normal file
@@ -0,0 +1,7 @@
|
||||
;;; lisp/langs/elisp.el --- Emacs Lisp -*- lexical-binding: t -*-
|
||||
|
||||
;; Inline macro expansion — C-c e to expand, q to collapse
|
||||
(use-package macrostep
|
||||
:bind (:map emacs-lisp-mode-map ("C-c e" . macrostep-expand)))
|
||||
|
||||
(add-hook 'emacs-lisp-mode-hook #'flymake-mode)
|
||||
26
shared/.config/emacs/lisp/langs/org.el
Normal file
26
shared/.config/emacs/lisp/langs/org.el
Normal file
@@ -0,0 +1,26 @@
|
||||
;;; lisp/langs/org.el --- Org mode -*- lexical-binding: t -*-
|
||||
|
||||
(use-package org
|
||||
:ensure nil
|
||||
:custom
|
||||
(org-directory "~/org")
|
||||
(org-startup-indented t)
|
||||
(org-startup-folded 'content)
|
||||
(org-hide-emphasis-markers t)
|
||||
(org-pretty-entities t)
|
||||
(org-return-follows-link t)
|
||||
(org-todo-keywords
|
||||
'((sequence "TODO(t)" "NEXT(n)" "WAITING(w)" "|" "DONE(d)" "CANCELLED(c)")))
|
||||
:bind (("C-c a" . org-agenda)
|
||||
("C-c c" . org-capture)
|
||||
("C-c l" . org-store-link)))
|
||||
|
||||
;; Modern, clean visual style for org buffers and agenda
|
||||
(use-package org-modern
|
||||
:hook ((org-mode . org-modern-mode)
|
||||
(org-agenda-finalize . org-modern-agenda)))
|
||||
|
||||
;; Reveal emphasis markers and links when cursor is on them
|
||||
(use-package org-appear
|
||||
:hook (org-mode . org-appear-mode)
|
||||
:custom (org-appear-autolinks t))
|
||||
Reference in New Issue
Block a user