Compare commits
No commits in common. "f5ed7c034385623d1d5e3afaa9697bdef00b05dc" and "2b3b891962e3492696451dac69ef6a16c8223ce5" have entirely different histories.
f5ed7c0343
...
2b3b891962
3 changed files with 10 additions and 52 deletions
|
|
@ -1,37 +0,0 @@
|
||||||
local pick_chezmoi = function()
|
|
||||||
require("telescope").extensions.chezmoi.find_files()
|
|
||||||
end
|
|
||||||
|
|
||||||
return {
|
|
||||||
"xvzc/chezmoi.nvim",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"<leader>sz",
|
|
||||||
pick_chezmoi,
|
|
||||||
desc = "Chezmoi",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
opts = {
|
|
||||||
edit = {
|
|
||||||
watch = false,
|
|
||||||
force = false,
|
|
||||||
},
|
|
||||||
notification = {
|
|
||||||
on_open = true,
|
|
||||||
on_apply = true,
|
|
||||||
on_watch = false,
|
|
||||||
},
|
|
||||||
telescope = {
|
|
||||||
select = { "<CR>" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
init = function()
|
|
||||||
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
|
||||||
pattern = { os.getenv("HOME") .. "/.local/share/chezmoi/*" },
|
|
||||||
callback = function()
|
|
||||||
vim.schedule(require("chezmoi.commands.__edit").watch)
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
return {
|
|
||||||
"ravsii/tree-sitter-d2",
|
|
||||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
|
||||||
build = "make nvim-install",
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
return {
|
return {
|
||||||
"FabijanZulj/blame.nvim",
|
"FabijanZulj/blame.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
blame_options = { "-w" },
|
blame_options = { "-w" },
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>gb",
|
"<leader>gb",
|
||||||
"<cmd>BlameToggle<cr>",
|
"<cmd>BlameToggle<cr>",
|
||||||
desc = "Toggle git blame",
|
desc = "Toggle git blame",
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue