Last active
October 25, 2016 01:52
-
-
Save othree/7e0f05503550534235d14b8a16b06ce9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:autocmd InsertEnter * let save_cwd = getcwd() | execute 'lcd %:p:h' | |
:autocmd InsertLeave * execute 'lcd' fnameescape(save_cwd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment