Change pwd if file is opening in an "unused" editor
commitc9087515165f84b5bda98d2e0df0b54c1272ca0f
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 10 Aug 2008 19:16:31 +0000 (10 21:16 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 10 Aug 2008 19:16:31 +0000 (10 21:16 +0200)
tree831c29264135dafe0357f80dbe1e0df1be482f71
parent8571a004af950fbffa7de0dd250566ef24e2b19d
Change pwd if file is opening in an "unused" editor

When opening a file from Finder, set the pwd to the directory the file
resides in but only if the editor window is unused (e.g. it doesn't
already have files open in it).
src/MacVim/MMBackend.m