Cmder: How to make cmder open new tab with the current directory path

Created on 24 Jun 2015  Â·  11Comments  Â·  Source: cmderdev/cmder

hi friends
I am newbie to cmder. How can I open new tab with Ctrl+T with current directory path. Thanks !

Question PowerShell Bug

Most helpful comment

@nevion Settings -> Keys & macro -> search for "duplicate" and bind Alt+R to what you usually have as "new tab". Ctrl+T for example, so every new tab is a duplicate, yet your first shell starts in the home directory, as you requested.

All 11 comments

You can _Right-Click_ on the Tab then select Duplicate root...

@kermage It is not. Sorry for that !!!
test

for me, this really doesn't fit the bill - I want something more like control+[shift+] t on konsole/gnome terminal. I want the new shells to start in the current directory by default. The first shell should of course be home directory.

@nevion Settings -> Keys & macro -> search for "duplicate" and bind Alt+R to what you usually have as "new tab". Ctrl+T for example, so every new tab is a duplicate, yet your first shell starts in the home directory, as you requested.

@sivilll it works now thanks !

If there was a way to suppress the confirmation "do you to duplicate tab with root ..." that would be amazing :)

@RikkiGibson Under Settings there is the Confirm field which is part of Main options then uncheck Confirm tab duplicating (Duplicate root menu item). That should accomplish what you had in mind.

Thank you so much!

@Kietil's suggestions works well when using command prompt, but doesn't work for powershell, at least for me

Can this be done as a command?

opens in htop in a new tab

htop &

Maybe some others made my mistake, so FYI:

  • If you want to create a shortcut with ctrl or alt or other hotkeys in them, you should use the empty buttons that are on the right of the "Choose hotkey" menu. You can stack up to 3 of them behind each other.
  • If you follow @Kietil, you have to change the current Ctrl+T to something else. That one's default is Create new console (‘Create confirmation’ dialog): Create(0,1) . I changed it to Ctrl+Alt+T.

I didn't understand what @Kietil meant with "Alt+R", but I didn't need it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Joe1992w picture Joe1992w  Â·  3Comments

spooky picture spooky  Â·  3Comments

brunowego picture brunowego  Â·  3Comments

vincentntang picture vincentntang  Â·  3Comments

luisrudge picture luisrudge  Â·  3Comments