Auto Change Directory in MacVim

It's been quite a while since I messed with code.
Meeting new people, working on new product concepts, promoting our new software services, managing our kick-*ss development team and re-calibrating my work-life balance have killed off any little time I have left to mess around with code.
Dusting off my under-used MacVim today, I got into some trouble using vim file browser. Whenever I open another file in the same directory as the current file I am editing, I get sent back to my default "work" directory.
Guess I did not port over this line from my Windows and Linux Vim instances:
- set autochdir
Added it into my MacVim's .vimrc file, run:
- :source ~/.vimrc
And ta da... my MacVim now remembers which file I last opened and I do not get sent to the pwd (parent) directory when attempting to open a file in the same directory.
Category: MacVim



Discussion
Hi, i Like this macvim color scheme...Can I get it?...Where?...I will come back...thanks!
Leave a Comment :
Leave a Comment