Save Work On Focus Lost This feature works best in combo with infinite undo. The idea here is that everytime you leave your Vim window, all your open files are automatically saved. I find this to be extremely helpful, for example when I’m working on a laptop and continuously run unit tests in terminal. My laptop is 13'' so I prefer to run Vim full screen and with this feature, I don’t have to explicitly save my source code file; I just cmd+tab to the terminal, Vim saves the file for me and my unit tests watcher re-runs the suite. If you save unwanted changes by accident you can easily remedy that with undo. To turn autosaving on, add: :au FocusLost * silent! wa to your .vimrc. The silent! flag prevents Vim from complaining when you have open unititled buffers (see this article for details).
403 Matching Annotations
- May 2015
-
ideasintosoftware.com ideasintosoftware.com
-
- Apr 2015
-
blog.resortsandlodges.com blog.resortsandlodges.com
-
ARE GOOGLE’S TRAVEL GOALS TOO AMBITIOUS?
-
-
www.fool.com www.fool.com
-
Are Google's Travel Plans Too Ambitious?
-