Compare commits

...

6 Commits

Author SHA1 Message Date
Vasili Svirydau
210763ae2d chore: formatting 2026-05-06 10:57:22 -07:00
Vasili Svirydau
9629c3ba25 chore: deeper nvim integration 2026-05-06 10:54:57 -07:00
Vasili Svirydau
c5607f5291 chore: set nvim as default editor 2026-05-06 10:16:14 -07:00
Vasili Svirydau
819da9ae39 chore: chezmoi nvim plugin 2026-05-06 10:13:53 -07:00
Vasili Svirydau
b6425f7e39 chore: add default tools 2026-05-06 10:08:27 -07:00
Vasili Svirydau
5deb24949d chore: added README 2026-05-06 10:05:16 -07:00
5 changed files with 62 additions and 1 deletions

View File

@@ -4,3 +4,6 @@
[data] [data]
email = {{ $email | quote }} email = {{ $email | quote }}
fullName = {{ $fullName | quote }} fullName = {{ $fullName | quote }}
[edit]
command = "nvim"

8
README.md Normal file
View File

@@ -0,0 +1,8 @@
Installation Steps
==================
* Install `mise`:
* `curl https://mise.run | sh`
* Bootstrap `chezmoi`
* `mise exec chezmoi@latest -- chezmoi init --apply ssh://gitea@git.exceede.com:22422/vasili/dotfiles.git`
* `chezmoi apply`

View File

@@ -1,5 +1,9 @@
[tools] [tools]
chezmoi = "latest" chezmoi = "latest"
jq = "latest"
lazygit = "latest"
lua-language-server = "latest" lua-language-server = "latest"
neovim = "nightly" neovim = "nightly"
node = "21" node = "21"
rg = "latest"
starship = "latest"

View File

@@ -20,6 +20,7 @@ vim.keymap.set("n", "<space>", "zz")
vim.keymap.set("n", "<leader>w", ":update<cr>") vim.keymap.set("n", "<leader>w", ":update<cr>")
vim.keymap.set("n", "<c-p>", ":Pick files<cr>") vim.keymap.set("n", "<c-p>", ":Pick files<cr>")
vim.keymap.set("n", "<leader>h", ":Pick help<cr>") vim.keymap.set("n", "<leader>h", ":Pick help<cr>")
vim.keymap.set("n", "<leaver>cz", function() require("chezmoi.pick").mini() end) -- Pick from chezmoi managed files
vim.pack.add( vim.pack.add(
{ {
@@ -39,6 +40,7 @@ vim.pack.add(
{ src = "https://github.com/mfussenegger/nvim-lint" }, -- Linter { src = "https://github.com/mfussenegger/nvim-lint" }, -- Linter
{ src = "https://github.com/rachartier/tiny-inline-diagnostic.nvim" }, -- Inline diagnostics { src = "https://github.com/rachartier/tiny-inline-diagnostic.nvim" }, -- Inline diagnostics
{ src = "https://github.com/j-hui/fidget.nvim" }, -- LSP Status Popup { src = "https://github.com/j-hui/fidget.nvim" }, -- LSP Status Popup
{ src = "https://github.com/xvzc/chezmoi.nvim" }, -- Chezmoi dotfiles manager
} }
) )
@@ -80,8 +82,48 @@ vim.lsp.config("lua_ls", {
} }
}) })
-- Fidget -- Fidget
require("fidget").setup() require("fidget").setup {
}
-- Diagnostic -- Diagnostic
require('tiny-inline-diagnostic').setup() require('tiny-inline-diagnostic').setup()
vim.diagnostic.config({ virtual_text = false }) vim.diagnostic.config({ virtual_text = false })
-- Chezmoi
require("chezmoi").setup {
edit = {
watch = false,
force = false,
ignore_patterns = {
"run_onchange_.*",
"run_once_.*",
"%.chezmoiignore",
"%.chezmoitemplate",
-- Add custom patterns here
},
},
events = {
on_open = {
notification = {
enable = true,
msg = "Opened a chezmoi-managed file",
opts = {},
},
},
on_watch = {
notification = {
enable = true,
msg = "This file will be automatically applied",
opts = {},
},
},
on_apply = {
notification = {
enable = true,
msg = "Successfully applied",
opts = {},
},
},
},
}

View File

@@ -1,5 +1,9 @@
{ {
"plugins": { "plugins": {
"chezmoi.nvim": {
"rev": "4167bbec76f693f481a5243f1be521ff0ccf1a6d",
"src": "https://github.com/xvzc/chezmoi.nvim"
},
"fidget.nvim": { "fidget.nvim": {
"rev": "2cb5edb2dd6700a958a446b20bb2be04d318da9d", "rev": "2cb5edb2dd6700a958a446b20bb2be04d318da9d",
"src": "https://github.com/j-hui/fidget.nvim" "src": "https://github.com/j-hui/fidget.nvim"