From fac7a710d94b9c81dacc1ba31f7226a9593bb6ae Mon Sep 17 00:00:00 2001 From: venus Date: Sun, 21 Dec 2025 00:06:22 -0600 Subject: [PATCH] updated netrw config settings --- init.lua | 5 +++-- lua/custom/plugins/termhere.lua | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 lua/custom/plugins/termhere.lua diff --git a/init.lua b/init.lua index 5a99a44..abdc7d5 100644 --- a/init.lua +++ b/init.lua @@ -35,14 +35,15 @@ vim.g.have_nerd_font = false -- # STARTUP SCRIPT vim.cmd ':cd %:h' -- set local directory when opening nvim --- vim.cmd ("Explore") ---vim.cmd 'Lexplore' -- netRW settings -- set netrw style to tree by default vim.g.netrw_liststyle = 3 vim.g.netrw_banner = 1 vim.g.netrw_altv = 1 -- Create the split of the Netrw window to the left +vim.g.netrw_winsize = 30 -- Set the width of the "drawer" +vim.g.netrw_browse_split = 4 -- Open files in previous window. This emulates the typical "drawer" behaviorkjk +vim.g.netrw_altv = 1 -- Create the split of the Netrw window to the left --vim.cmd(':Lexplore %:p:h') -- Use this to open the local directory diff --git a/lua/custom/plugins/termhere.lua b/lua/custom/plugins/termhere.lua new file mode 100644 index 0000000..960e88a --- /dev/null +++ b/lua/custom/plugins/termhere.lua @@ -0,0 +1,3 @@ +return { + 'TamaMcGlinn/vim-termhere', +}