sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"The prompt comes from oh-my-posh, not from the Oh My Zsh theme.
brew install jandedobbeleer/oh-my-posh/oh-my-posh.zshrc starts it with the amro theme that ships with the package, so this
repository has no oh-my-posh config file:
eval "$(oh-my-posh init zsh --config $(brew --prefix oh-my-posh)/themes/amro.omp.json)"- nvm: use the install
script, because
.zshrcloads it from~/.nvm; - Go:
brew install go.~/go/binis onPATH; kubectl: comes with Docker Desktop.
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
plugins=(
# other plugins...
zsh-autosuggestions
)
brew install fzf
$(brew --prefix)/opt/fzf/installThe install script writes ~/.fzf.zsh, and .zshrc loads that file.
brew install ripgrepbrew install --cask kittyPut this repository's .config/kitty/kitty.conf at ~/.config/kitty/kitty.conf.
It sets the Catppuccin Mocha colors, tabs, and splits (Cmd+D, Cmd+Shift+D,
and Cmd+Z to zoom).
The config asks for JetBrains Mono. If that font is not installed, kitty falls back to Menlo. Kitty ships its own Nerd Font symbols, so oh-my-posh icons work without an extra font.
The config requires Neovim 0.12+. It is written in Lua at
.config/nvim/init.lua and uses
lazy.nvim as the plugin manager.
brew install neovim tree-sitter-cli ripgrep fd lazygit goThe tools are used as follows:
tree-sitter-cliand Apple Clang build Treesitter parsers;ripgrepandfdpower file and text search;lazygitis opened by the Snacks Git view;goprovidesgofmt, which formats Go files on save.
Git, curl, and tar are also required. macOS provides them after the Command
Line Tools are installed:
xcode-select --installCopy this repository's .config/nvim directory to ~/.config/nvim, then run the
command below. The files are copied, not symlinked, so copy them again after you
change them.
nvimOn the first launch, lazy.nvim installs the plugins, Mason installs the configured language servers, and Treesitter installs its parsers. Wait for the jobs to finish before restarting Neovim.
Update plugins first:
:Lazy syncRestart Neovim, then update the parsers and Mason registry:
:TSUpdate
:MasonUpdate
:MasonIn Mason, press C to check for old packages and U to update them. Check the
main parts of the setup with:
:checkhealth nvim-treesitter
:checkhealth vim.lsp
:checkhealthTSStatus and LspInfo are not commands in this setup.
Plugins are installed automatically on first launch via lazy.nvim. No manual steps required.
| Category | Plugin |
|---|---|
| Plugin manager | lazy.nvim |
| LSP | nvim-lspconfig + mason.nvim |
| Completion | nvim-cmp + LuaSnip |
| File explorer | nvim-tree.lua |
| Fuzzy finder / utilities | snacks.nvim (picker, dashboard, notifier, lazygit, terminal, indent guides, smooth scroll, word highlights, bufdelete, zen) |
| Statusline | lualine.nvim |
| Comments | Comment.nvim |
| Git | vim-fugitive, gitsigns.nvim, diffview.nvim |
| Colorscheme | everforest-nvim |
| Markdown | render-markdown.nvim (loads for *.md files and renders headings, code blocks, checkboxes, tables, and quotes in-buffer) |
| Search | highlight-current-n.nvim (n / N highlight the active search match) |
| Surround | nvim-surround (ys, ds, cs; custom C surround wraps text in Markdown fenced code blocks with a language prompt) |
| Other | nvim-autopairs, which-key.nvim, nvim-treesitter + treesitter-parser-registry |
<C-w>o toggles Snacks zen mode (window zoom) instead of running one-way :only.
Normal-mode commands also work with the Russian keyboard layout, through
langmap.
Go files are formatted with gofmt on save. This is a small autocmd in
init.lua, not a plugin. If gofmt is not on PATH, Neovim shows a warning and
saves the file without formatting.
The following parsers are installed automatically:
rust, javascript, typescript, python, lua, yaml, go, json, bash, groovy,
dockerfile, markdown, markdown_inline, regex, terraform, hcl, tsx, html, css
Treesitter provides syntax highlighting and folds when a parser is available. Other file types use indent-based folds.
The following LSP servers are auto-installed via Mason on first launch:
rust-analyzer, typescript-language-server, gopls, pyright,
lua-language-server, json-lsp, yaml-language-server,
bash-language-server, dockerfile-language-server, terraform-ls