This commit is contained in:
Ralph 2024-03-28 00:21:27 -07:00
parent 34c1b682d2
commit 6cb65276de
2 changed files with 39 additions and 0 deletions

21
lua/plugins/editor.lua Normal file
View file

@ -0,0 +1,21 @@
if true then return {} end
return {
{
"nvim-tree/nvim-tree.lua",
dependencies = { "nvim-tree/nvim-web-devicons" },
keys = {
{ "<leader>fe", function() vim.cmd([[NvimTreeToggle]]) end, mode = { "n", "t" }, desc = "Toggle nvim-tree" },
{ "<C-f>", function() vim.cmd([[NvimTreeFindFile]]) end, desc = "Show current file in nvim-tree" },
},
config = function()
require("nvim-tree").setup({
actions = {
open_file = {
resize_window = false,
},
},
})
end,
},
}

18
lua/plugins/ui.lua Normal file
View file

@ -0,0 +1,18 @@
if true then return {} end
return {
-- bufferline
"akinsho/bufferline.nvim",
opts = {
options = {
offsets = {
{
filetype = "NvimTree",
text = "Nvim-tree",
highlight = "Directory",
text_align = "left",
},
},
},
},
}