Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Running the switch builds:
- Homebrew apps (casks and CLI tools)
- Nix user packages (ripgrep, fd, fzf, jq, lazygit, Neovim, Hack Nerd Font)
- Shell (zsh, aliases, starship prompt)
- Editor (Neovim config)
- Terminal (WezTerm config)
- Editor (Neovim config with the rose-pine moon theme)
- Terminal (WezTerm config with the rose-pine moon theme)
- Agent configs (Claude, Codex, opencode all share one AGENTS.md)

## Prerequisites
Expand Down Expand Up @@ -140,6 +140,8 @@ You only run `./rebuild.sh` when you change something that isn't just a symlinke

The first time you launch `nvim`, it bootstraps [lazy.nvim](https://github.com/folke/lazy.nvim) by cloning plugins from GitHub.
That needs network access once; after that it's offline.
Neovim and WezTerm both use the rose-pine moon theme.
Neovim keeps italics off and uses a transparent background on macOS, Windows, and WSL so it matches the terminal setup.

## License

Expand Down
1 change: 1 addition & 0 deletions home/.config/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"neogit": { "branch": "master", "commit": "43ea1a0854052e583f647e0b35879f0158a70a78" },
"oil.nvim": { "branch": "master", "commit": "b73018b75affd13fa38e2fc94ef753b465f770d7" },
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
"rose-pine": { "branch": "main", "commit": "cf2a288696b03d0934da713d66c6d71557b5c997" },
"snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" },
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
}
27 changes: 27 additions & 0 deletions home/.config/nvim/lua/plugins/colorscheme.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
return {
{
'rose-pine/neovim',
lazy = false,
priority = 1000,
name = 'rose-pine',
config = function()
require('rose-pine').setup({
dark_variant = 'moon',
dim_inactive_windows = false,
extend_background_behind_borders = false,
styles = {
italic = false,
transparency = vim.uv.os_uname().sysname == 'Darwin'
or string.find(vim.uv.os_uname().sysname, 'Windows') ~= nil
or string.find(vim.uv.os_uname().release, 'WSL') ~= nil,
},
})

vim.cmd('colorscheme rose-pine')

-- Make the dimmed directory path in the Snacks picker readable
local palette = require('rose-pine.palette')
vim.api.nvim_set_hl(0, 'SnacksPickerDir', { fg = palette.subtle })
end,
},
}