I am looking for a keyboard shortcut for the "cls" command under windows as for the terminal on mac with:
⌘ + K
Command + K for newer keyboards
Someone would have any idea ?
there is no keyboard shortcut dedicated to the "cls" command. However, you can create it yourself as follows: (you can see the following gist
Script
#IfWinActive ahk_class ConsoleWindowClass
^K::
Send cls{Enter}
return
Note:
This shortcut is no longer valid as soon as you close the current session, so I recommend that you move the file to a special folder which will run the script each time you start windows, here are the steps:
shell:startup