Save and restore a cmder tabs session?

WindowsConemu

Windows Problem Overview


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?

Windows Solutions


Solution 1 - Windows

The simplest way I've found is to arrange the tabs and splits the way you want, and then on "Settings" -> Startup -> Tasks:

  1. Create a new task using the "+" (plus sign) at the bottom of the predefined task list.
  2. Give the task a name
  3. Click "Active tabs"
  4. Click "Save settings"

enter image description here

If you want to make it the default at startup, then:

  1. Go to "Settings"->Startup
  2. On "Specified named task" select the name of your recently created task.
  3. Save the settings.

enter image description here

That's it! Now when you open the Cmder it will restore your layout with each corresponding path.

Solution 2 - Windows

You can also do it like this in newer versions

enter image description here.

Solution 3 - Windows

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.

Solution 4 - Windows

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

Solution 5 - Windows

Very useful tip by PDG. Thank you. After making this change, whenever I click on + icon it recreates all the tabs.I wanted to open a set of tabs only when I open ConEmu.
To open single tab later: Go to

"Settings"->Startup ->Tasks

Select the task you want to open when + icon is clicked (Ex:Shells::PowerShell (Admin)), Flag Checkbox Default task for new console. This way when you open ConEmu, the task setup as startup task will open. Clicking + icon will open single tab set as default.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionatomarasView Question on Stackoverflow
Solution 1 - WindowsPDGView Answer on Stackoverflow
Solution 2 - WindowsLiviu SosuView Answer on Stackoverflow
Solution 3 - WindowsatomarasView Answer on Stackoverflow
Solution 4 - WindowsHesam MoosapourView Answer on Stackoverflow
Solution 5 - WindowsAnandaraj NareshwarView Answer on Stackoverflow