Compare commits
6 Commits
79c4a47169
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
210763ae2d | ||
|
|
9629c3ba25 | ||
|
|
c5607f5291 | ||
|
|
819da9ae39 | ||
|
|
b6425f7e39 | ||
|
|
5deb24949d |
@@ -4,3 +4,6 @@
|
||||
[data]
|
||||
email = {{ $email | quote }}
|
||||
fullName = {{ $fullName | quote }}
|
||||
|
||||
[edit]
|
||||
command = "nvim"
|
||||
|
||||
8
README.md
Normal file
8
README.md
Normal 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`
|
||||
@@ -1,5 +1,9 @@
|
||||
[tools]
|
||||
chezmoi = "latest"
|
||||
jq = "latest"
|
||||
lazygit = "latest"
|
||||
lua-language-server = "latest"
|
||||
neovim = "nightly"
|
||||
node = "21"
|
||||
rg = "latest"
|
||||
starship = "latest"
|
||||
|
||||
@@ -20,6 +20,7 @@ vim.keymap.set("n", "<space>", "zz")
|
||||
vim.keymap.set("n", "<leader>w", ":update<cr>")
|
||||
vim.keymap.set("n", "<c-p>", ":Pick files<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(
|
||||
{
|
||||
@@ -39,6 +40,7 @@ vim.pack.add(
|
||||
{ src = "https://github.com/mfussenegger/nvim-lint" }, -- Linter
|
||||
{ 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/xvzc/chezmoi.nvim" }, -- Chezmoi dotfiles manager
|
||||
}
|
||||
)
|
||||
|
||||
@@ -80,8 +82,48 @@ vim.lsp.config("lua_ls", {
|
||||
}
|
||||
})
|
||||
-- Fidget
|
||||
require("fidget").setup()
|
||||
require("fidget").setup {
|
||||
|
||||
}
|
||||
|
||||
-- Diagnostic
|
||||
require('tiny-inline-diagnostic').setup()
|
||||
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 = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
"plugins": {
|
||||
"chezmoi.nvim": {
|
||||
"rev": "4167bbec76f693f481a5243f1be521ff0ccf1a6d",
|
||||
"src": "https://github.com/xvzc/chezmoi.nvim"
|
||||
},
|
||||
"fidget.nvim": {
|
||||
"rev": "2cb5edb2dd6700a958a446b20bb2be04d318da9d",
|
||||
"src": "https://github.com/j-hui/fidget.nvim"
|
||||
|
||||
Reference in New Issue
Block a user