Save and restore a cmder tabs session?
WindowsConemuWindows 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:
- 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.
Solution 2 - Windows
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.