Save and restore a cmder tabs session?
I would like to layout a collection of tabs with each one having a different starting path and i'd like to be able to save this layout and restore it with a single click.
I want this in order to run the same git commands across multiple repos.
Is this possible?
The simplest way I've found is to arrange the tabs and splits the way you want, and then on "Settings" -> Startup -> Tasks:
- Create a new task using the "+" (plus sign) at the bottom of the predefined task list.
- Give the task a name
- Click "Active tabs"
- Click "Save settings"
If you want to make it the default at startup, then:
- Go to "Settings"->Startup
- On "Specified named task" select the name of your recently created task.
- Save the settings.
That's it! Now when you open the Cmder it will restore your layout with each corresponding path.
You can also do it like this in newer versions
.
As @Maximus mentioned i created a new Task (http://conemu.github.io/en/Tasks.html) after I had setup my console layout and clicked Active Tabs. This saved my layout to the new task and after updating my Windows Jump List i can now directly open this exact layout.
This Worked For Me
>cmd.exe /k RenameTab "Tab1" & "%ConEmuBaseDir%\CmdInit.cmd" & cd /d C:\project
cmd.exe /k RenameTab "Tab2" & "%ConEmuBaseDir%\CmdInit.cmd" & cd /d C:\project
cmd.exe /k RenameTab "Tab3" & "%ConEmuBaseDir%\CmdInit.cmd" & cd /d C:\project