sarrtle / my-vim-config

Dotfiles for my vim that uses nvchad distribution, primary use for python and web development.
GNU General Public License v3.0
1 stars 0 forks source link

live update of the buffer files on changed from external editors or file changed. #5

Closed sarrtle closed 3 weeks ago

sarrtle commented 2 months ago

Whenever we are working on a file, and the file we are working on changes from other text editor or programs, the file that we see inside the vim buffer are still the same. Like vscode, changes and editing are done on real time. This will be investigated and see what I can enhance.

sarrtle commented 3 weeks ago

Upon checking, it seems that my current config can already update live but it requires focusing on the terminal application to update the changes. I also found this thread that could potentially address the issue: https://stackoverflow.com/questions/2157914/can-vim-monitor-realtime-changes-to-a-file.

It seems that nvchad already implemented some features for this on some time of updates. It didn't worked before but now it works.

https://github.com/user-attachments/assets/98a28914-661a-4854-9d87-2577d5867bdb