You want to sublime, Webstorm, Vi/vim have to use the shortcut key "briefing" "Practical"
say not much, go now:
Sublime Text:
Ctrl+d ALT+F3 Select All
Ctrl+shift+ ' (right mouse button) multi-line edit can be individually added first select multiline Ctrl+shift+l end of line edit
Ctrl+shift+a Parent Container Selected
Ctrl+shift+m js, CSS check brackets
Ctrl+shift+↑ or ↓
Ctrl+shift+d Copy Select or copy rows
ctrl+[or] Indent
Ctrl+x Cut
Ctrl+shift+v Keep Indent paste
ALT+SHIFT+W Check define Baoguo label
ctrl+shift+; Clear parent Tag
Ctrl+shift+y calculation
Alt+shift+↑ or ↓,ctrl+↑ or ↓ number increment and decrement
Ctrl+k+u,ctrl+k+l Fast k+u/l Uppercase lowercase
Comments
Ctrl+l Select the entire row, continue to select the next row, the effect is the same as the shift+↓ effect.
CTRL+M cursor moves to the end or start position within the parentheses.
ctrl+shift+[] Collapse code. Ctrl+k+0 expands all collapsed code.
SHIFT + ARROW key to select Text up and down for lines, left and right for text
Ctrl+alt+↑/↓ Add a multiline cursor to the top and bottom, edit multiple lines, corresponding to the same position without the end of the line.
Ctrl+j Merge the selected lines of code to one line. For a chestnut: merge the CSS properties of the multiline format into one line.
Ctrl+k+k removes code from the cursor at the end of the line. Ctrl+shift+k Delete an entire row
Ctrl+y restore Undo.
Ctrl+t around the letter interchange.
F6 Word detection spelling
Ctrl+p Open the Search box. For a chestnut: 1, file name, fast search file, 2, @ and keyword, find function name, 3, enter: + number, jump to the line, 4, #和关键字, find the variable name.
Ctrl+g Open the Search box, automatically take:, enter a number to jump to that line of code
Ctrl+r Open the Search box, automatically with @, enter keywords, find the function name in the file.
CTRL +: Open the search box, automatically with #, enter keywords, find variable names in the file, attribute names, and so on.
Ctrl+shift+p Open the Command box. Scene Chestnut: Open the Name box, enter the keyword, call sublime text or plug-in features, such as using the package installation plugin install.
Ctrl+pagedown Toggles the tab of the current window to the left.
Ctrl+pageup Toggles the tab of the current window to the right.
Alt+shift+num window split screen, restore the default 1 screen (non-keypad number)
Ctrl+k+b Toggle the sidebar on/off.
F11 Full Screen mode
SHIFT+F11 free-to-disturb mode
Webstorm:
Open:
- CTRL + SHIFT + N: Opens the file for any directory under the current project.
- ALT + Left/right: Tag Toggle
Code change:
- CTRL + ALT + T: Generate around Package code
- CTRL + SHIFT +/: Block notes Show:/**/
- CTRL + '-/+ ': You can collapse any code block in the project and automatically identify the folds.
- Alt+j/alt+shift+j/alt+shift+ctrl+j: Increase check next same Code/erase previous/Select All
Check
- CTRL + F12: can display the structure of the current file
- CTRL + SHIFT + I: Displays details of the current CSS selector or JS function hover display
Location->go to:
- CTRL + B: Skip to variable declaration
- CTRL + []: match {}, two lookups can reach superior {}
- CTRL + SHIFT +/[: Check Block code
- Ctrl+g: Code to the specified line
Vi/vim:
1. Cursor Movement
G move to the last line of the file
H moves to the first line of the screen
L move to the last line of the screen
M moves to the middle line of the screen
W Word move
B Words move forward
^ Move to the first non-null character of the current line
$ move to the last character of the current line
+, Enter moves to the first character of the next line
-Move to the first non-empty character of the previous line
2. Add
A inserts text after the cursor
I insert text before the cursor
I insert text before the current line
A Inserts text Wei the current line
o Insert a new row below the current line
O Insert a new row at the top of the current row
s removes the character at the cursor and enters insert mode
S Delete the line where the cursor is located and enter insert mode
3. Delete
X Delete the character at the cursor
D, d$ Delete from cursor to end of line
DB Delete the word in front of the cursor
DW Delete to the beginning of the next word
DG deletes the line until the end of the file
DD Delete entire row
: N,MD Delete n rows from line m
4. Modifications
Rchar replacing the current character with Char
R text escape replaces the current character with text until the ESC key is pressed
Stext Escape uses text instead of the current character
S or Cctext escape with text instead of whole line
C number Wtext escape change the current word to text
Ctext escape changes the remainder of the current line to text
CG escape modified to the end of the file
5. Find
/text finding text forward in a file
? text looks backwards in the file for text
N repeated lookups in the same direction
N repeated lookups in the opposite direction
6. Copying
YY puts the contents of the current row into a temporary buffer
Nyy the contents of n rows into a temporary buffer
P puts the text in the temporary buffer after the cursor
P put the text in the temporary buffer before the cursor
"(A-Z) NYY copy n rows into a named buffer with a name of parentheses, omitting N to indicate when the forward
"(A-Z) NDD deletes n rows into a named buffer with the name parentheses, omitting N to indicate when the forward
"(A-Z) p puts the contents of a named buffer with parentheses in the current line
"(A-Z) P put the contents of a named buffer with parentheses in front of the current line
7. Revocation and repetition
U Undo Last Modification
U Undo all modifications to the current line
. Repeat last Modification
8. Save and exit
: w save file but do not exit VI
: W file saves the modification in file but does not exit VI
: Wq or ZZ or: x save file and Exit VI
: q! Do not save file, Exit VI
: e! Discard all changes and edit from the last time the file was saved
9. Options
: Set Nu Prints line number before each line:
: Set number shows rows
: Set Nonumber Suppress row count
10.VI status
:. = Prints the line number of the current line
: = number of lines in the print file
CTRL+G Displays the file name, the current line number, the total number of rows in the file, and the percentage of the file location
11. Screen Adjustment
H move the cursor to the top row of the screen
NH moves the cursor to line n on the top row of the screen
M moves the cursor to the middle of the screen
L move the cursor to the bottom row of the screen
NL moves the cursor to the nth line on the bottom line of the screen
^e (Ctrl+e) Scrolls the screen up one line
Ctrl+y rolling the screen down one line
Ctrl+u Roll the screen up half a page
Ctrl+d Roll the screen down half a page
CTRL+B Roll the screen up one page
CTRL+F Roll the screen down one page
Ctrl+l Redraw the screen
Z. Place the current row as the center of the screen
12. Indent
Ctrl+i or tab when inserting text, insert moving width, moving width is defined beforehand
: Set AI turns on auto indent
: Set Sw=n Sets the move width to n characters
N> causes n rows to move one width to the right, such as 3>> to move the next three rows to the right by one moving width.
Yes, it's me, little.
Source: http://www.cnblogs.com/highshao/ This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.
You want to sublime, Webstorm, Vi/vim have to use the shortcut key "briefing" "Practical"