Hotkeys in the Windows 10 Technical Preview console

Corrine

Administrator,
Microsoft MVP,
Security Analyst
Staff member
Joined
Feb 22, 2012
Posts
12,391
Location
Upstate, NY
Copy/Paste from Windows 10 gets a fresh command prompt and lots of hotkeys - Scott Hanselman:

Here's a list of hotkeys in the Windows 10 Technical Preview console. This is just hotkeys! Be sure to explore the Properties dialog as well, resize, word wrapping, and more.

[h=3]Text selection keys[/h] These combinations interoperate with the mouse so you can start selecting with the mouse and continue with one of these commands, or vice versa.


[TABLE="width: 550"]
[TR]
[TD] Selection Key Combination
[/TD]
[TD] Description
[/TD]
[/TR]
[TR]
[TD] SHIFT + LEFT ARROW
[/TD]
[TD] Moves the cursor to the left one character, extending the selection.
[/TD]
[/TR]
[TR]
[TD] SHIFT + RIGHT ARROW
[/TD]
[TD] Moves the cursor to the right one character, extending the selection.
[/TD]
[/TR]
[TR]
[TD] SHIFT + UP ARROW
[/TD]
[TD] Selects text up line by line starting from the location of the insertion point.
[/TD]
[/TR]
[TR]
[TD] SHIFT + DOWN ARROW
[/TD]
[TD] Extends text selection down one line, starting at the location of the insertion point.
[/TD]
[/TR]
[TR]
[TD] SHIFT + END
[/TD]
[TD] If cursor is in current line being edited
* First time extends selection to the last character in the input line.
* Second consecutive press extends selection to the right margin.
Else
Selects text from the insertion point to the right margin.
[/TD]
[/TR]
[TR]
[TD] SHIFT + HOME
[/TD]
[TD] If cursor is in current line being edited
* First time extends selection to the character immediately after the command prompt.
* Second consecutive press extends selection to the left margin.
Else
Extends selection to the left margin.
[/TD]
[/TR]
[TR]
[TD] SHIFT + PAGE DOWN
[/TD]
[TD] Extends selection down one screen.
[/TD]
[/TR]
[TR]
[TD] SHIFT + PAGE UP
[/TD]
[TD] Extends selection up one screen.
[/TD]
[/TR]
[TR]
[TD] CTRL + SHIFT + RIGHT ARROW
[/TD]
[TD] Extends the selection one word to the right.
[/TD]
[/TR]
[TR]
[TD] CTRL + SHIFT + LEFT ARROW
[/TD]
[TD] Extends the selection one word to the left.
[/TD]
[/TR]
[TR]
[TD] CTRL + SHIFT + HOME
[/TD]
[TD] Extend selection to the beginning of the screen buffer.
[/TD]
[/TR]
[TR]
[TD] CTRL + SHIFT + END
[/TD]
[TD] Extend selection to the end of the screen buffer.
[/TD]
[/TR]
[TR]
[TD] CTRL + A
[/TD]
[TD] If cursor is in current line being edited (from first typed char to last type char) and line is not empty and any selection cursor is also within the line being edited
Selects all text after the prompt. (phase 1)
Else
Selects the entire buffer. (phase 2)
[/TD]
[/TR]
[/TABLE]
[h=3]Extra Fun with CTRL + A[/h] CTRL + A behavior is interesting. Regardless of the state of mark mode and quick edit mode, one of two things should happen. Either the entire buffer is selected, or (only in a single case) '2-Phase select' starts. 2-Phase select is the process where the first CTRL-A selects the characters to the right of the edit line prompt, and the second press selects the entire buffer.
[h=3]Editing keys[/h] As I mentioned above you can copy and paste text with the keyboard. When copying text, you might worry that CTRL + C has always been the BREAK command. This is a nice touch, it will still send the break signal to the running application when no text is selected. The first CTRL-C copies the text and clears the selection, and the second one signals the break. Nice attention to detail, IMHO.


[TABLE="width: 550"]
[TR]
[TD] Editing Key Combination
[/TD]
[TD] Description
[/TD]
[/TR]
[TR]
[TD] CTRL + V
[/TD]
[TD] Paste text into the command line.
[/TD]
[/TR]
[TR]
[TD] SHIFT + INS
[/TD]
[TD] Paste text into the command line.
[/TD]
[/TR]
[TR]
[TD] CTRL + C
[/TD]
[TD] Copy selected text to the clipboard.
[/TD]
[/TR]
[TR]
[TD] CTRL + INS
[/TD]
[TD] Copy selected text to the clipboard.
[/TD]
[/TR]
[/TABLE]
[h=3]Mark mode keys[/h] These keys function in mark mode. You can enter this mode by right-clicking anywhere in the console title bar and choosing Edit->Mark from the context menu as before, or via the new shortcut combination, CTRL-M. In the original console, mark mode resulted in block mode text selection. While in mark mode, you can hold down the ALT key at the start of a text selection command to use block mode in the new console. The selection key combinations above are all available in mark mode. CTRL + SHIFT + ARROW operations select by character and not by word while in mark mode.


[TABLE="width: 550"]
[TR]
[TD] Mark Mode Key Combination
[/TD]
[TD] Description
[/TD]
[/TR]
[TR]
[TD] CTRL + M
[/TD]
[TD] Enter "Mark Mode" to move cursor within window.
[/TD]
[/TR]
[TR]
[TD] ALT
[/TD]
[TD] In conjunction with one of the selection key combinations, begins selection in block mode.
[/TD]
[/TR]
[TR]
[TD] ARROW KEYS
[/TD]
[TD] Move cursor in the direction specified.
[/TD]
[/TR]
[TR]
[TD] PAGE KEYS
[/TD]
[TD] Move cursor by one page in the direction specified.
[/TD]
[/TR]
[TR]
[TD] CTRL + HOME
[/TD]
[TD] Move cursor to beginning of buffer.
[/TD]
[/TR]
[TR]
[TD] CTRL + END
[/TD]
[TD] Move cursor to end of buffer.
[/TD]
[/TR]
[/TABLE]
[h=3]History navigation keys[/h] [TABLE="width: 550"]
[TR]
[TD] Navigation Key Combination
[/TD]
[TD] Description
[/TD]
[/TR]
[TR]
[TD] CTRL + UP ARROW
[/TD]
[TD] Moves up one line in the output history.
[/TD]
[/TR]
[TR]
[TD] CTRL + DOWN ARROW
[/TD]
[TD] Moves down one line in the output history.
[/TD]
[/TR]
[TR]
[TD] CTRL + PAGE UP
[/TD]
[TD] Moves up one page in the output history.
[/TD]
[/TR]
[TR]
[TD] CTRL + PAGE DOWN
[/TD]
[TD] Moves down one page in the output history.
[/TD]
[/TR]
[/TABLE]
[h=3]Other keys[/h] [TABLE="width: 550"]
[TR]
[TD] Other Key Combination
[/TD]
[TD] Description
[/TD]
[/TR]
[TR]
[TD] CTRL + F
[/TD]
[TD] Opens "Find" in console dialog.
[/TD]
[/TR]
[TR]
[TD] ALT + F4
[/TD]
[TD] Close the console window, of course!
[/TD]
[/TR]
[/TABLE]
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top