First,Command class
Command+1 |
Quick fix |
Command+d |
Delete When moving forward |
command+option+↓ |
Copy the current line to the next line |
command+option+↑ |
Copy the current line to the previous row |
command+← |
Moves the cursor to the beginning of the current line |
command+→ |
Moves the cursor to the end of the current line |
Command+t |
Quickly display the structure of the current class |
Command+w |
Close the current edit page |
command+option+← |
Previous edited page |
command+option+→ |
The page after an edit |
Command+k |
Refer to the current edit page with the selected keyword down search |
Command+e |
Displays the list of currently edited pages to select a page to toggle |
command+/ |
Comment or counter-comment when moving forward |
Command+shift+e |
Display Editor manager, optionally switch editor |
Command+j |
Forward lookup, find the characters entered in the current edit page, and note the hints in the Eclipse status bar |
Command+shift+j |
Reverse lookup, using the same way as a forward lookup |
Command+shift+w |
Close all open Editor |
Command+shift+p |
Locating a match, for a scenario with a larger code size, such as at the end of the loop body of the while () {} , where you want to jump to the while () { . |
command+[ |
Navigate back to the last edited file |
Command+] |
Navigate forward to the next edited file |
Second,Option class
Option+↓ |
Move down when moving forward |
option+↑ |
Move up when moving forward |
option+ Enter |
Displays the properties of the currently selected resource |
option+/ |
Code Assistant "Smart Tips" |
Option+command+r |
Renaming |
Option+command+c |
Modify function structure, apply refactoring |
Option+command+l |
Extracting Local variables |
Third, theControl class
Control+m |
Maximize or restore the current editor or view |
Four,Shift class
shift+command+↑ |
Select the cursor to the beginning of all text |
shift+command+↓ |
Select the cursor to the end of all text |
shift+command+→ |
Select the cursor to the end of the current line |
shift+command+← |
Select the cursor to the beginning of the current line |
V. Additional Information
Eclipse is common for text-editing jumps and check jumps, which are basic and mac Systems, and the following is the support of Mac systems for text selection or in or jump.
1. text position jump shortcut key:
Jump to the beginning of a line: |
Command+ LEFT Arrow |
Jump to the end of a line: |
Command+ RIGHT Arrow |
Jumps to the beginning of the current word (for English, pinyin): |
Option+ LEFT Arrow |
Jumps to the end of the current word (for English, pinyin): |
option+ RIGHT Arrow |
Jump to the beginning of all text: |
Command+ Up ARROW |
Jump to the end of all text: |
Command+ DOWN ARROW |
2. Select shortcut keys for text
To add a shift to the above shortcut keys, you can extend the shortcut to the selected text effect
Select the text that starts with the cursor: |
Shift+command+ LEFT Arrow |
Select the text at the end of the line with the cursor: |
Shift+command+ RIGHT Arrow |
Check the cursor to the beginning of the current word (for English, pinyin): |
Shift+option+ LEFT Arrow |
Check the cursor to the end of the current word (for English, pinyin): |
shift+option+ RIGHT Arrow |
Check the cursor to the beginning of all text: |
Shift+command+ Up ARROW |
Select the cursor to the end of all text: |
Shift+command+ DOWN ARROW |
some shortcut keys in 3.vim
Shift+4 |
End of Line |
Shift+6 |
Header |
Shift+g |
End of document |
Gg |
Document Header |
Vi.Terminal cursor correlation
Ctrl+u |
Remove the character from the beginning of the cursor |
Ctrl+k |
Delete the character of the cursor to the end of the line |
Ctrl+h |
Delete a character ( backspace delete ) |
CTRL + C |
Cancels the command entered by the current line |
CTRL + A |
Cursor moves to the beginning of the line |
Ctrl+e |
Cursor moves end of line |
Ctrl+l |
Clear screen ( similar to clear ) |
Ctrl+p |
Bring up the previous rule in the command history ( similar to ↑ ) |
CTRL + N |
Bring up the command history next ( similar to ↓ ) |
Ctrl+w |
Delete a word before the current cursor |
Ctrl+y |
Paste (ctrl+w) the deleted word |
ALT +← |
Move between words to the left |
ALT +→ |
Move between words to the right |
Vii. references
1.manreadline
2.http://www.macx.cn/thread-2037724-1-1.html
Shortcut keys for Eclipse under Mac