On Thu, Aug 23, 2012 at 11:42 AM, Santosh Kumar <sntshkm...@gmail.com> wrote: > Before I heard about vim, I used to use gedit. I still try to make vim > behave as same as gedit, this is because I have asked many questions > related to vim on StackOverflow. > > One feature I am missing is when any file was modified while I was > working on any file on gedit by another application, a popup use to > come which says "The file <file_location> changed on disk. Do you want > to reload the file?" And there were two buttons named "Reload" and > "Cancel" respectively. > > What I want: > (Please note that I am using vim, not gvim) I want similar feature in > vim. I want if any file get changed on disk, a warning message come at > status bar "File changed, press <F9> to reload". Check :help timestamp and (just below that), :help :checktime
If you want to run checktime automatically when there is no activity on the term for a few secs, you could do something like: :au CursorHold * checktime (untested) gvim calls :checktime when it gains focus, so that should suffice. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php