feat(programs/neovim): add neo-tree
This commit is contained in:
parent
2a82d1fceb
commit
ae25ebedf1
2 changed files with 9 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
||||||
gitsigns-nvim
|
gitsigns-nvim
|
||||||
lsp-format-nvim
|
lsp-format-nvim
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
|
neo-tree-nvim
|
||||||
nvim-autopairs
|
nvim-autopairs
|
||||||
nvim-cmp
|
nvim-cmp
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
-- sets the <Leader> "key", which can be used in shortcuts
|
-- sets the <Leader> "key", which can be used in shortcuts
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = ","
|
||||||
|
|
||||||
vim.g.have_nerd_font = true
|
vim.g.have_nerd_font = true
|
||||||
|
|
||||||
|
@ -65,6 +65,9 @@ vim.keymap.set("n", "<C-l>", "<C-w><C-l>", { desc = "Move focus to the right win
|
||||||
vim.keymap.set("n", "<C-j>", "<C-w><C-j>", { desc = "Move focus to the lower window" })
|
vim.keymap.set("n", "<C-j>", "<C-w><C-j>", { desc = "Move focus to the lower window" })
|
||||||
vim.keymap.set("n", "<C-k>", "<C-w><C-k>", { desc = "Move focus to the upper window" })
|
vim.keymap.set("n", "<C-k>", "<C-w><C-k>", { desc = "Move focus to the upper window" })
|
||||||
|
|
||||||
|
-- open neo-tree
|
||||||
|
vim.keymap.set("n", "<leader>t", "<Cmd>Neotree reveal<CR>")
|
||||||
|
|
||||||
-- [[ plugin configuration ]]
|
-- [[ plugin configuration ]]
|
||||||
require("catppuccin").setup({
|
require("catppuccin").setup({
|
||||||
flavour = "auto",
|
flavour = "auto",
|
||||||
|
@ -141,3 +144,7 @@ lspconfig.rust_analyzer.setup({
|
||||||
require("gitsigns").setup()
|
require("gitsigns").setup()
|
||||||
|
|
||||||
require("fidget").setup()
|
require("fidget").setup()
|
||||||
|
|
||||||
|
require("neo-tree").setup({
|
||||||
|
close_if_last_window = true,
|
||||||
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue