feat: add tabline, filetree, autopairs
This commit is contained in:
parent
d891f4ac5a
commit
4b150dbc0d
7 changed files with 155 additions and 21 deletions
23
lua/custom/plugins/filetree.lua
Normal file
23
lua/custom/plugins/filetree.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
||||
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function ()
|
||||
require('neo-tree').setup {
|
||||
window = {
|
||||
width = 30,
|
||||
mappings = {
|
||||
["o"] = "open",
|
||||
["sv"] = "open_vsplit",
|
||||
}
|
||||
}
|
||||
}
|
||||
vim.keymap.set('n', '<leader>sn', ':Neotree filesystem reveal float git_status<CR>', { noremap = true, silent = true })
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue