src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2025-10-02 11:45:27 -0500
committerLuke Hoersten <[email protected]>2025-10-02 11:45:27 -0500
commit31e53ed00b066234d31cbc98a337fc263009db0a (patch)
tree48c15c9cc4b36f92ebcf92a36e01067178210a1e
parent880bc08da7a003f3a483b9432e5927f018a06f7d (diff)
Added emacs server mode. Random fixes.HEADmain
-rw-r--r--README.md19
-rw-r--r--init.el10
2 files changed, 24 insertions, 5 deletions
diff --git a/README.md b/README.md
index 78e6224..e4ba8b1 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,7 @@ Personal Emacs configuration focused on simplicity and modern tooling while resp
### Development
- **company** - Auto-completion
- **flycheck** - Syntax checking
+- **jinx** - Fast spell-checking (requires enchant)
- **treesit-auto** - Tree-sitter modes with automatic grammar installation
- **magit** - Git interface
- **forge** - GitHub/GitLab integration for magit
@@ -81,6 +82,20 @@ Personal Emacs configuration focused on simplicity and modern tooling while resp
## Installation
+### Prerequisites
+
+**macOS:**
+```bash
+brew install enchant pkg-config
+```
+
+**Ubuntu/Debian:**
+```bash
+sudo apt install libenchant-2-dev pkg-config
+```
+
+### Setup
+
1. Clone this repository:
```bash
git clone [email protected]:lukehoersten/emacs.d.git ~/.emacs.d
@@ -88,7 +103,9 @@ Personal Emacs configuration focused on simplicity and modern tooling while resp
2. Launch Emacs - packages will auto-install on first run
-3. For tree-sitter modes, grammars install automatically when first opening a file
+3. Jinx spell-checker will compile its native module on first launch (requires enchant)
+
+4. For tree-sitter modes, grammars install automatically when first opening a file
## Tree-sitter Support
diff --git a/init.el b/init.el
index 92bfb3b..f7482b2 100644
--- a/init.el
+++ b/init.el
@@ -54,6 +54,7 @@
ring-bell-function 'ignore
mac-command-modifier 'meta
ns-pop-up-frames nil
+ dired-use-ls-dired nil ; macOS ls doesn't support --dired
ispell-program-name "/usr/local/bin/aspell"))
@@ -128,6 +129,11 @@
(setq ibuffer-show-empty-filter-groups nil)
+;;; emacs server (for emacsclient)
+(require 'server)
+(unless (server-running-p)
+ (server-start))
+
;;; shell
(global-set-key (kbd "C-c s") 'eshell) ; start shell
(exec-path-from-shell-copy-env "PYTHONPATH")
@@ -193,10 +199,6 @@
(setq-default
show-paren-style 'expression
show-paren-delay 0)
-(set-face-attribute
- 'show-paren-match nil
- :background (face-background 'highlight)
- :foreground (face-foreground 'highlight))
(show-paren-mode t)