Prepare repo structure for storing multiple dotfile configs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
66 lines
1.2 KiB
Lua
66 lines
1.2 KiB
Lua
return {
|
|
-- Autopairs
|
|
{
|
|
"windwp/nvim-autopairs",
|
|
event = "InsertEnter",
|
|
opts = {},
|
|
},
|
|
|
|
-- Comment toggling
|
|
{
|
|
"numToStr/Comment.nvim",
|
|
keys = {
|
|
{ "gcc", mode = "n", desc = "Toggle comment" },
|
|
{ "gc", mode = "v", desc = "Toggle comment" },
|
|
},
|
|
opts = {},
|
|
},
|
|
|
|
-- TODO comments
|
|
{
|
|
"folke/todo-comments.nvim",
|
|
event = { "BufReadPost", "BufNewFile" },
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
opts = {},
|
|
keys = {
|
|
{ "<leader>ft", "<cmd>TodoTelescope<cr>", desc = "Find TODOs" },
|
|
},
|
|
},
|
|
|
|
-- Which-key: shows keybinding hints
|
|
{
|
|
"folke/which-key.nvim",
|
|
event = "VeryLazy",
|
|
opts = {},
|
|
},
|
|
|
|
-- File explorer
|
|
{
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
branch = "v3.x",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-tree/nvim-web-devicons",
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
keys = {
|
|
{ "<leader>n", "<cmd>Neotree toggle<cr>", desc = "Toggle file explorer" },
|
|
},
|
|
opts = {
|
|
filesystem = {
|
|
filtered_items = {
|
|
visible = true,
|
|
hide_dotfiles = false,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
-- Crates.nvim for Cargo.toml
|
|
{
|
|
"saecki/crates.nvim",
|
|
event = { "BufRead Cargo.toml" },
|
|
opts = {},
|
|
},
|
|
}
|