Updated scripts

This commit is contained in:
2025-09-11 10:11:43 +02:00
parent d517992c8d
commit 9fa71efe70
4 changed files with 22 additions and 7 deletions

View File

@@ -13,10 +13,6 @@ vim.opt.relativenumber = true
vim.opt.termguicolors = true
vim.opt.undofile = true
vim.opt.signcolumn = "yes"
vim.g.netrw_banner = 0 -- gets rid of the annoying banner for netrw
vim.g.netrw_browse_split = 4 -- open in prior window
vim.g.netrw_altv = 1 -- change from left splitting to right splitting
vim.g.netrw_liststyle = 3 -- tree style view in netrw
-------------------------------------------------------------------
-- Autocommands
@@ -103,6 +99,7 @@ vim.pack.add({
{ src = "https://github.com/saghen/blink.cmp" },
{ src = "https://github.com/stevearc/conform.nvim" },
{ src = "https://github.com/prichrd/netrw.nvim" },
{ src = "https://github.com/nvim-tree/nvim-tree.lua" },
})
-------------------------------------------------------------------
@@ -186,6 +183,7 @@ require("blink.cmp").setup({
},
fuzzy = { implementation = "lua" },
})
require("nvim-tree").setup()
-------------------------------------------------------------------
-- LSP config
@@ -246,7 +244,8 @@ map("n", "N", "Nzzzv", { noremap = true, silent = true })
map("n", "<leader>g", ":LazyGitCurrentFile<CR>", { noremap = true, silent = true })
-- File browser
map("n", "<leader>e", ":25Lex<CR>", { noremap = true, silent = true })
-- map("n", "<leader>e", ":25Lex<CR>", { noremap = true, silent = true })
map("n", "<leader>e", ":NvimTreeToggle<CR>", { noremap = true, silent = true })
map("n", "<leader>f", ":Pick files<CR>", { noremap = true, silent = true })
map("n", "<leader>h", ":Pick help<CR>", { noremap = true, silent = true })