Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can configure Neovim to either auto reload or to ask you whenever a file is changed. (Can't remember which one is the default, probably to ask.)


I'm ~80% sure auto-reload is on by default, and 100% sure that it's on in a fresh LazyVim install.


vim.o.autoread (default on) When a file has been detected to have been changed outside of Vim and it has not been changed inside of Vim, automatically read it again.


Thanks, just found something about that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: