2015年8月23日星期日

windows 10 shortkey



Keyboard Shortcuts in the Windows 10 Technical Preview

Brad Sams asked me on Twitter yesterday if we had a list of new keyboard shortcuts in the Windows 10 Technical Preview. Here is what I was able to pull together for the keyboard junkies out there:
  • Snapping window: WIN + LEFT or RIGHT (can be used with UP or DOWN to get into quadrants)
  • Switch to recent window: ALT + TAB (unchanged) – Hold shows new Task view window view, let go and switches to app.
  • Task view: WIN + TAB – New Task view opens up and stays open.
  • Create new virtual desktop: WIN + CTRL + D
  • Close current virtual desktop: WIN + CTRL + F4
  • Switch virtual desktop: WIN + CTRL + LEFT or RIGHT
Scott Hanselman also did a very thorough post on keyboard shortcuts (hotkeys) for Command Prompt in the Windows 10 Technical Preview if you’re into that sort of thing.
Updated November 7, 2014 5:58 pm

Window Snapping

Windows 10 offers improved support for Snap — known as “Aero Snap” on Windows 7. You can now snap windows vertically — one on top of each other, instead of side-by-side — or snap windows to a 2×2 grid.
  • Windows Key + Left – Snap current window to the left side of the screen.
  • Windows Key + Right – Snap current window the the right side of the screen.
  • Windows Key + Up – Snap current window to the top of the screen.
  • Windows Key + Down – Snap current window to the bottom of the screen.
Combine these shortcuts to snap into a corner — for example, Windows Key + Left and then Windows Key + Up would snap a window into the top-left quadrant of the screen. The first two keyboard shortcuts aren’t new, but the way they work with the 2×2 snapping feature is.
(You can also use the mouse — drag and drop a window to the left or right edges of your screen, or drag and drop them into one of the four corners to snap into quadrants.)
windows-10-vertical-snapping-keyboard-shortcuts[4]

Task View / Window Management

The Task View is a new interface that combined an Exposé-like window switching and virtual desktops — an awful lot like Mission Control on Mac OS X. In addition to clicking the “Task View” button on the taskbar to open it, you can use these keyboard shortcuts:
  • Windows Key + Tab – This opens the new Task View interface, and it stays open — you can release the keys. Only windows from your current virtual desktop will appear in the Task View list, and you can use the virtual desktop switcher at the bottom of the screen to switch between virtual desktops.
  • Alt + Tab – This isn’t a new keyboard shortcut, and it works just like you’d expect it to. Pressing Alt+Tab lets you switch between your open Windows. Tap Tab again to flip between windows and release the keys to select a window. Alt+Tab now uses the new Task View-style larger thumbnails. Unlike Windows Key + Tab, Alt + Tab lets you switch between open windows on all virtual desktops.
new-alt tab-interface-with-larger-thumbnails-on-windows-10

Virtual Desktops

RELATED ARTICLE
How to Use Virtual Desktops in Windows 10
Virtual desktops were finally added as a built-in feature in Windows 10. If you’ve used Linux or Mac, you know... [Read Article]
There are also some keyboard shortcuts for quickly managing virtual desktops.
  • Windows Key + Ctrl + D – Create a new virtual desktop and switch to it
  • Windows Key + Ctrl + F4 – Close the current virtual desktop.
  • Windows Key + Ctrl + Left / Right – Switch to the virtual desktop on the left or right.
Sadly, there’s not yet a key combination that will move the current window between virtual desktops. How about Windows Key + Shift + Ctrl + Left / Right — please, Microsoft?
keyboard-shortcut-to-open-task-view-on-windows-10

Command Prompt

RELATED ARTICLE
How to Power Up the Windows 10 Command Prompt with CTRL+C and CTRL+V
The command prompt in Windows 10 finally has CTRL+C and CTRL+V functionality yet, by default, the much touted upgrade isn’t on.... [Read Article]
The new Command Prompt keyboard shortcuts may not be enabled by default, so be sure to open the Command Prompt’s properties window and enable them first.
Copying and Pasting Text / Ctrl Key Shortcuts
  • Ctrl + V or Shift + Insert – Pastes text at the cursor.
  • Ctrl + C or Ctrl + Insert – Copies the selected text to the clipboard.
  • Ctrl + A – Select all text in the current line if the line contains text. If it’s an empty line, select all text in the Command Prompt.
RELATED ARTICLE
42+ Text-Editing Keyboard Shortcuts That Work Almost Everywhere
Whether you’re typing an email in your browser or writing in a word processor, there are convenient keyboard shortcuts usable... [Read Article]
Selecting Text / Shift Key Shortcuts: Many of the standard Shift key shortcuts for text editing now finally work in the Command Prompt! These include:
  • Shift + Left / Right / Up / Down – Moves the cursor left a character, right a character, up a line, or down a line, selecting the text along the way. Continue pressing arrow keys to select more text.
  • Ctrl + Shift + Left / Right – Moves the cursor one word to the left or right, selecting that word along the way.
  • Shift + Home / End – Moves the cursor to the beginning or end of the current line, selecting text along the way.
  • Shift + Page Up / Page Down – Moves the cursor up or down a screen, selecting text.
  • Ctrl + Shift + Home / End – Moves the cursor to the beginning or end of the “screen buffer,” selecting all text between the cursor and the beginning or end of the Command Prompt’s output.
ctrl-and-shift-keyboard-shortcuts-in-windows-10-command-prompt
More Shortcuts
  • Ctrl + Up / Down – Moves one line up or down in the Command Prompt’s history — it’s like using the scroll bar.
  • Ctrl + Page Up / Page Down – Moves one page up or down in the Command Prompt’s history — it’s like scrolling even farther.
  • Ctrl + M – Enter “mark mode,” which helps for selecting text. Previously, the only way to do this was by right-clicking in the Command Prompt and selecting Mark. Thanks to the new Shift key shortcuts, this mode is no longer as important.
  • Ctrl + F – Opens a Find dialog for searching the Command Prompt’s output.
  • Alt + F4 – Closes the Command Prompt window.
ctrl-f-to-search-in-command-prompt-on-windows-10


Microsoft will hopefully add even more keyboard shortcuts as they continue developing Windows 10. For now, the new keyboard shortcuts are very useful — especially to Command Prompt users!

Windows 10 gets a fresh command prompt and lots of hotkeys

October 1, '14 Comments [50] Posted in Tools | Win10
Sponsored By
image
Much has been written and much will be written about the Windows 10 announcement.

I'm pretty stoked, and am playing with the Windows 10 Technical Preview now. I can see that there's lots of new enhancements to the shell, the Start Menu/ Screen, how Universal apps work, and so much more. But, let's focus on the "other shell." The console!
The console (conhost) that cmd.exe (often incorrectly but colloquially called the DOS Prompt) and PowerShell live within hasn't had much love in the last several years, IMHO. But then, suddenly, on stage at the Windows 10 announce we've got a VP showing folks that Ctrl-V (paste) works in the command prompt. Why would he do such a crazy thing?
Well, from what I can tell looking at the Preview, there's a LOT of cool Console goodness coming in Windows 10.
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.

Text selection keys

These combinations interoperate with the mouse so you can start selecting with the mouse and continue with one of these commands, or vice versa. 
Selection Key CombinationDescription
SHIFT + LEFT ARROWMoves the cursor to the left one character, extending the selection.
SHIFT + RIGHT ARROWMoves the cursor to the right one character, extending the selection.
SHIFT + UP ARROWSelects text up line by line starting from the location of the insertion point.
SHIFT + DOWN ARROWExtends text selection down one line, starting at the location of the insertion point.
SHIFT + ENDIf 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.
SHIFT + HOMEIf 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.
SHIFT + PAGE DOWNExtends selection down one screen.
SHIFT + PAGE UPExtends selection up one screen.
CTRL + SHIFT + RIGHT ARROWExtends the selection one word to the right.
CTRL + SHIFT + LEFT ARROWExtends the selection one word to the left.
CTRL + SHIFT + HOMEExtend selection to the beginning of the screen buffer.
CTRL + SHIFT + ENDExtend selection to the end of the screen buffer.
CTRL + AIf 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)

Extra Fun with CTRL + A

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.

Editing keys

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.
Editing Key CombinationDescription
CTRL + VPaste text into the command line.
SHIFT + INSPaste text into the command line.
CTRL + CCopy selected text to the clipboard.
CTRL + INSCopy selected text to the clipboard.

Mark mode keys

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.
Mark Mode Key CombinationDescription
CTRL + MEnter "Mark Mode" to move cursor within window.
ALTIn conjunction with one of the selection key combinations, begins selection in block mode.
ARROW KEYSMove cursor in the direction specified.
PAGE KEYSMove cursor by one page in the direction specified.
CTRL + HOMEMove cursor to beginning of buffer.
CTRL + ENDMove cursor to end of buffer.

History navigation keys

Navigation  Key CombinationDescription
CTRL + UP ARROWMoves up one line in the output history.
CTRL + DOWN ARROWMoves down one line in the output history.
CTRL + PAGE UPMoves up one page in the output history.
CTRL + PAGE DOWNMoves down one page in the output history.

Other keys

Other Key CombinationDescription
CTRL + FOpens "Find" in console dialog.
ALT + F4Close the console window, of course!

没有评论:

发表评论