diff --git a/lua/options.lua b/lua/options.lua index 84e1a72..2e603c4 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -71,7 +71,8 @@ for _, plugin in pairs(disabled_built_ins) do g["loaded_" .. plugin] = 1 end -vim.cmd [[ autocmd BufEnter * if &buftype != "terminal" | lcd %:p:h | endif ]] +-- uncomment this if you want to open nvim with a dir +-- vim.cmd [[ autocmd BufEnter * if &buftype != "terminal" | lcd %:p:h | endif ]] -- Use relative & absolute line numbers in 'n' & 'i' modes respectively -- vim.cmd[[ au InsertEnter * set norelativenumber ]]