Sublime Forum

Save As

#1

I wish that saving/creating a new file was as fast as creating a new folder. Instead of having to use OSX’s save dialogue box (which takes a while to load all of its fancy animations…), I would love to use the input panel (sorry, I don’t know what the official name is) to quickly save a new file.

Like this:


0 Likes

#2

If you have SideBar Enhancements installed you can hack the file “Side Bar.sublime-commands” like so:


  {
    "caption": "File: New (relative)",
    "command": "side_bar_new_file"
  },
  {
    "caption": "File: Duplicate (relative)",
    "command": "side_bar_duplicate"
  },
  {
    "caption": "File: Rename ",
    "command": "side_bar_rename"
  }
]

That’ll give you exactly what you ask for and more

0 Likes

#3

Thanks! It’s awesome. There seems to be a problem, though. I don’t know if it’s with ST2 or SidebarEnhancements. Those commands don’t work if the only open file is “untitled.”

0 Likes

#4

Hmm, yeah the commands only work with files that already exist in the file system.

Workaround is to not create files with File->new, but only via “duplicate relative” or “new relative”

0 Likes