Vim 常用快捷键总结
| Keyboard shortcuts | Effects |
|---|---|
| h | moves the cursor one character to the left |
| j | moves the cursor down one line |
| k | moves the cursor up one line |
| l | moves the cursor one character to the right |
| 0 | moves the cursor to the beginning of the line |
| $ | moves the cursor to the end of the line |
| w | move forward one word |
| b | move backward one word |
| G | move to the end of the file |
| gg | move to the beginning of the file |
| `. | move to the last edit |
| v/V->Ctrl-q->d->p/P | Cut and paste |
| v/V->Ctrl-q->y->p/P | Copy(yank) and paste |
Comments
✍️ Reply by email