disable autocwd by default

This commit is contained in:
siduck76 2021-08-21 17:19:11 +05:30
parent 18705c4da4
commit 7a06fbb0be
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ for _, plugin in pairs(disabled_built_ins) do
g["loaded_" .. plugin] = 1 g["loaded_" .. plugin] = 1
end 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 -- Use relative & absolute line numbers in 'n' & 'i' modes respectively
-- vim.cmd[[ au InsertEnter * set norelativenumber ]] -- vim.cmd[[ au InsertEnter * set norelativenumber ]]