Is there a keyboard shortcut to restart the current console in cmder?
Asked Answered
S

2

10

It seems like there is with ConEmu https://conemu.github.io/en/KeyboardShortcuts.html "Win+~" but a way to restart the current console in cmder would be great.

Cheers

Shaughn answered 13/10, 2017 at 10:6 Comment(0)
C
12

Go to Settings - Main - Keys & Macro Then select "Recreate active console" from the list and set hotkey for it. This action will show a dialog with three buttons: Restart, Terminate, Cancel. Restart is a default button and you can choose it by just pressing ENTER key.

Cloverleaf answered 5/12, 2017 at 13:2 Comment(0)
R
0

According to the current help of cmder:

 Recreate(<Action>[,<Confirm>[,<AsAdmin>]]), alias "Create"
  - Create new tab or restart existing one
     Action: 0 - create tab, 1 - restart tab, 2 - create window
     Confirm: 1 - show ‘Create new console’ dialog, 0 - don't show
     AsAdmin: 1 - start elevated tab

Open Settings - Keys & Macros - Select Macros from dropdown - use one of the unused Macro places (input macro into GUI Macro)

Example:

Recreate(1, 0, 1)

Restart Tab - do not show confirmation window - start as admin

Retinoscope answered 14/4, 2022 at 6:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.