Neovim on Omarchy: LazyVim, LSPs & DHH's Editor Workflow
Use Neovim the Omarchy way: LazyVim starter, blazing LSP, Telescope, and the terminal editor flow DHH actually uses daily.
Omarchy ships Neovim btw โ LazyVim-based, batteries-included, yet malleable. Hereโs how to own it.
First launch
nvim
# Lazy bootstraps plugins, Treesitter, Mason LSPs
:checkhealth
You get: telescope, neo-tree, gitsigns, which-key, lspconfig, conform, nvim-cmp/blink.
Project workflow (how DHH codes)
Super + SpaceโnvimorSuper + Enterโnvim .Space + f(Telescope find files) โ<CR>to openSpace + /live grep (ripgrepunderneath)gdgo-to-def,Khover,Space + cacode action,Space + rnrenameSpace + efile explorer,Space + glazygit TUI
Terminal + editor share clipboard: yank in Neovim, paste in Chromium with Ctrl+Shift+V.
Must-know keymaps
| Key | Action |
|---|---|
Space |
Leader |
Space + ff |
Find files |
Space + sg |
Grep |
Space + bd |
Close buffer |
Space + cm |
Mason (LSPs) |
Space + l |
Lazy (plugins) |
]d / [d |
Next / prev diagnostic |
See :help which-key after pressing Space.
Adding a language
# Example: Go
:MasonInstall gopls golangci-lint
# or via Lazy extras
-- ~/.config/nvim/lua/plugins/lang-go.lua
return { import = "lazyvim.plugins.extras.lang.go" }
Restart โ LSP attaches, formatting via conform.nvim.
Sync with Omarchy theming
-- ~/.config/nvim/lua/plugins/theme.lua
return {
{ "folke/tokyonight.nvim", opts = { style = "night" } },
{ "LazyVim/LazyVim", opts = { colorscheme = "tokyonight" } },
}
Your colorscheme survives omarchy theme set.
Terminal tricks
- Alacritty + Neovim true color: already set (
TERM=xterm-256coloris wrong; Omarchy setsalacrittycorrectly). omarchy captureโ paste screenshot path directly in markdown:auto-completes.- Use
mise(see Dev Tools guide) to pinnode,rubyper-project โ Neovimโs LSP picks upmiseshims automatically.
When to not use Neovim
Omarchy also ships Helix-ish micro? No โ but code (VS Code) is one omarchy pkg add visual-studio-code-bin away. Itโs fine to mix. Omarchy is opinionated, not dogmatic.
Up next: Terminal Mastery โ Alacritty, Starship & Shell Tools.