add some basic plugins and keymap

This commit is contained in:
2025-11-15 12:14:03 -05:00
parent 2c2804273c
commit 5f6a4907f3
16 changed files with 183 additions and 26 deletions

View File

@@ -1,14 +1,13 @@
return {
"rebelot/kanagawa.nvim", opt = {},
config = function()
require("kanagawa").setup({
compile = true,
transparent = true
});
vim.cmd("colorscheme kanagawa");
end,
build = function()
vim.cmd("KanagawaCompile"); -- this line fail at first install
end,
require("kanagawa").setup({
compile = true,
transparent = true
});
vim.cmd("colorscheme kanagawa");
end,
build = function()
vim.cmd("KanagawaCompile"); -- this line fail at first install
end,
}

View File

@@ -8,4 +8,11 @@ return {
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
lazy = false,
config = function()
require("oil").setup({
view_options = {
show_hidden = true;
},
});
end
}

10
lua/plugins/showkeys.lua Normal file
View File

@@ -0,0 +1,10 @@
return {
"nvzone/showkeys",
enabled = false,
cmd = "ShowkeysToggle",
opts = {
timeout = 1,
maxkeys = 5,
-- more opts
}
}

View File

@@ -0,0 +1,4 @@
return {
"sphamba/smear-cursor.nvim",
opts = {},
}

View File

@@ -0,0 +1,33 @@
-- treesitter
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
-- treesitter config
local config = require("nvim-treesitter.configs")
config.setup({
ignore_install = {},
ensure_installed = {
"vimdoc",
"go",
"rust",
"c",
"lua",
"python",
"html",
"css",
"javascript",
"typescript",
"sql",
"markdown",
},
highlight = {
enable = true,
},
indent = { enable = true },
modules = {},
sync_install = true,
auto_install = true,
})
end
}

19
lua/plugins/zenbone.lua Normal file
View File

@@ -0,0 +1,19 @@
return {
"zenbones-theme/zenbones.nvim",
-- Optionally install Lush. Allows for more configuration or extending the colorscheme
-- If you don't want to install lush, make sure to set g:zenbones_compat = 1
-- In Vim, compat mode is turned on as Lush only works in Neovim.
-- dependencies = "rktjmp/lush.nvim",
lazy = false,
priority = 1000,
config = function()
-- set g:zenbones_compat = 1
vim.g.zenbones_compat = 1
end
-- you can set set configuration options here
-- config = function()
-- vim.g.zenbones_darken_comments = 45
-- vim.cmd.colorscheme('zenbones')
-- end
}