In ConEmu, is it possible to create a Macro to type/paste "cls" then press [ENTER] and (ideally) assign it the keyboard shortcut [CTRL]+L ?

I am trying to emulate the clear screen function of the Linux Shell but for the Windows Command Prompt/PowerShell.

2 Answers 2


Use GuiMacro (Keys & Macro page)


"\e" emulates Esc express, "\n" emulates Enter.

Of course, you may assign this macro to any desirable hotkey.

  • Brillant, works perfectly. Jul 26, 2013 at 20:50

Consider using Clink, it provides full Readline experience (including Ctrl+L and history search). Works great with ConEmu too.

  • Clink does NOT works with powershell.
    – Maximus
    Jul 26, 2013 at 20:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .