mirror of
https://github.com/macocianradu/setup.git
synced 2026-07-16 02:28:47 +00:00
added autoread
This commit is contained in:
@@ -26,5 +26,12 @@ vim.opt.signcolumn = "yes"
|
|||||||
vim.opt.isfname:append("@-@")
|
vim.opt.isfname:append("@-@")
|
||||||
|
|
||||||
vim.opt.updatetime = 50
|
vim.opt.updatetime = 50
|
||||||
|
vim.opt.autoread = true
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold" }, {
|
||||||
|
callback = function()
|
||||||
|
vim.cmd("checktime")
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|||||||
Reference in New Issue
Block a user