fix working directory issues

This commit is contained in:
Ray Elliott 2026-01-12 19:24:41 +00:00
commit 4e9e22da00
6 changed files with 21 additions and 1 deletions

View file

@ -20,7 +20,9 @@ vim.g.netrw_alto = 0
-- 50% split when pressing 'p'
vim.g.netrw_winsize = 50
vim.g.netrw_keepdir = 0
-- Keep working directory unchanged when browsing (1 = don't change directory)
-- Setting to 1 prevents netrw from changing vim's working directory
vim.g.netrw_keepdir = 1
-- Open files in the same window (replace netrw buffer)
-- Options: 0=same window, 1=horizontal split, 2=vertical split, 3=new tab, 4=previous window