1

Is there a package that will let me specify the full path of a file that hasn't been saved yet? I know I can use the AdvancedNewFile package to specify the full path where a file should be saved, but I would like to do the same for a file that has already been created (but not yet saved).

1 Answer 1

1

I was running into the same issue and couldn't figure it out until browsing through the undocumented functions in sublime.py [eg from /Applications/Sublime Text.app/Contents/MacOS/sublime.py on osx]

This works: view.retarget("/tmp/foo.txt")

from: def retarget(self, new_fname) in class View

1
  • Ah, interesting. So, Show Console and then view.retarget("/path/for/my/new.file") and then Save
    – nachocab
    Jan 5, 2016 at 14:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .