mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
wip
This commit is contained in:
parent
34c1b682d2
commit
6cb65276de
2 changed files with 39 additions and 0 deletions
21
lua/plugins/editor.lua
Normal file
21
lua/plugins/editor.lua
Normal 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
18
lua/plugins/ui.lua
Normal 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",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue