Some small changes
This commit is contained in:
@@ -11,5 +11,6 @@ return {
|
||||
---@diagnostic enable: missing-fields
|
||||
keys = {
|
||||
{ "<leader>ff", function() require("fzf-lua").files() end, desc = "Find files" },
|
||||
{ "<leader>cf", function() require("fzf-lua").files({ cwd = '~/.config/nvim' }) end, desc = "Config files" },
|
||||
}
|
||||
}
|
||||
|
||||
7
lua/plugins/nvim-lspconfig.lua
Normal file
7
lua/plugins/nvim-lspconfig.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
vim.lsp.enable('lua_ls')
|
||||
end,
|
||||
}
|
||||
|
||||
32
lua/plugins/nvim-tree.lua
Normal file
32
lua/plugins/nvim-tree.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
|
||||
opts = {},
|
||||
|
||||
keys = {
|
||||
{
|
||||
"<leader>e",
|
||||
function()
|
||||
require("nvim-tree.api").tree.toggle({
|
||||
path = "<args>",
|
||||
find_file = false,
|
||||
update_root = false,
|
||||
focus = true,
|
||||
})
|
||||
end,
|
||||
desc = "Toggle tree"
|
||||
},
|
||||
{
|
||||
"<C-e>",
|
||||
function()
|
||||
require("nvim-tree.api").tree.change_root_to_parent()
|
||||
end,
|
||||
desc = "Change root to parent"
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
2
lua/plugins/vim-fugitive.lua
Normal file
2
lua/plugins/vim-fugitive.lua
Normal file
@@ -0,0 +1,2 @@
|
||||
return {
|
||||
}
|
||||
Reference in New Issue
Block a user