Press "Enter" to skip to content

Cmder – Configure multiple windows

This post will show how to create multiple split windows in Cmder.

I’ve recently switched from ConEmu to Cmder in the last month and I am really enjoying it. I still like ConEmu, but Cmder is a fork of ConEmu with some additional UI changes. If you’d like to read more about the pros and cons of both, see Slank.

Below is an image of the final Cmder windows. I like this configuration because it allows me to choose between Bash, PowerShell or the cmd prompt.

Note: I have not explained here how to do the ascii art, I will do that in a future post.

In order to create these split screens, open Cmder and left click on the “system menu” in the lower left hand corner.

Then select “Settings…” from the menu.

You’ll then see a menu that looks like the one below. Select the “Startup>Tasks” from the accordion menu on the left and create a new task with the “+” button. I named this “multi::below” but you can name it whatever makes sense to you.

In the commands window, enter the following commands:

The best description that I’ve found of what each of these options does is in this link. Note, the page is for ConEmu, but the options have not changed for Cmder.

Breaking down the commands
There are three commands above. Let’s start with the first one:

This command runs a Bash shell and sets the starting directory via the "d:path" parameter as “c:\src\me”.

The next command opens a PowerShell console.

This command is a bit more tricky because of the “s1T35Vn” parameter. To parse this value, see Splitscreen. If you want to increase the amount of space that the PowerShell and cmd prompts take, you can increase the “35” value, to a higher number.

The P:"<powershell>" parameter tells the terminal to use the “<powershell>” theme. The default theme would have been a black background, but I use the blue background as you’d see in the typical ISE window.

Similar to the Bash window, the d: parameter opens the default path.

The last command opens the cmd prompt:

The "s2THn" parameter tells Cmder to split the PowerShell area in equal halves.

The P:"<tc-maxx>" parameter is another theme that I like for the cmd prompt as it looks more like the traditional Windows cmd prompt.

The d: parameter works as described above.

I hope that you find this terminal to be as handy as I have.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *