Hardly a meaty topic, but, about_Line_Editing shows how to take full advantage of the keyboard when working inside the shell interface. Below are some of the simple commands for single character/word navigation:
- To move the cursor one character to the left, press the LEFT ARROW key.
- To move the cursor one word to the left, press CTRL+LEFT ARROW.
- To move the cursor one character to the right, press the RIGHT ARROW key.
- To move the cursor one word to the right, press CTRL+RIGHT ARROW.
- To move to the beginning of a line, press the HOME key.
- To move to the end of a line, press the END key.
- To delete the character in behind the cursor, press the BACKSPACE key.
- To delete the character in front of the cursor, press the DELETE key.
- To delete all the characters in the line after the cursor, press CTRL+END.
- To change to overstrike mode, press the INSERT key.
- To return to insert mode, press INSERT again.
- To complete a command, such as the name of a cmdlet, a cmdlet parameter, or a path, press the TAB key. If the first suggestion that is displayed is not what you want, press the TAB key again.
0 comments:
Post a Comment