*Editor Configuration

Editor Configuration

Index · config.org

Undo System

Use undo-tree as the undo system for Evil mode. This provides a visual tree of all changes, which is useful for recovering experimental code changes that would be lost with linear undo.

(evil-set-undo-system 'undo-tree)

Projects

Ignore noisy directories when searching with Projectile. Go's vendor/ directory is particularly problematic as it contains vendored dependencies that clutter search results.

(after! projectile
  (add-to-list 'projectile-globally-ignored-directories "*vendor"))

Completions

Use corfu for in-buffer completion. The corfu-preselect setting ensures the first valid candidate is always pre-selected for faster confirmation.

(after! corfu
  (setq corfu-preselect 'prompt))

Exported 2026-08-04 Tue 21:39