Skip to content

lukasvarhol/dotfiles

Repository files navigation

Cross-platform dotfiles

Managing an Emacs config across multiple devices was becoming a pain, so this repo uses chezmoi to keep everything in sync across Windows, Linux, and macOS. Cloning on a new machine and running chezmoi apply handles package installation, fonts, LSP servers, and editor configuration automatically.

Setup

Make sure chezmoi is installed and on your PATH, then run:

chezmoi init git@github.com:lukasvarhol/dotfiles.git
chezmoi apply

To pull and apply the latest changes:

chezmoi update

Features

Emacs

  • Language support via Eglot (LSP) and associated language servers:
    • C/C++
    • CMake
    • Go
    • Java
    • JavaScript
    • Powershell (no language server)
    • Python
    • Rust
    • SystemVerilog
    • TCL
    • VHDL
  • clangd configured with automatic compile_commands.json via a global CMake toolchain file
  • Corfu inline completion
  • Flyspell spell checking (en_GB) for .org and .md files
  • Theme: ef-elea-dark
  • Delete selection mode, truncated lines, no backup files

Platform Notes

Windows

  • If Emacs has been opened on the machine before, delete %APPDATA%\.emacs.d\ before running chezmoi apply. Emacs creates this directory on first launch, which prevents chezmoi from creating the required junction to ~\.emacs.d\.
  • The install script requires an elevated PowerShell window — chezmoi will prompt for this automatically.

macOS

  • Hunspell dictionaries must be placed in /Library/Spelling/. The install script handles this automatically.

About

chezmoi-managed development environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors