Novice Tutorial 04: Summary of Gvim Shortcut Keys

foreword

Beginner to learn digital IC with zero foundation, learn what to write, and make progress together with everyone.

This article mainly summarizes some shortcut keys of Gvim.


1. HJKL: bottom left, top right

2. w: jump to the next word b: jump to the previous word

3. y: copy P: paste yy: copy a line yj: copy the current line and the next line yw: copy a word y$: copy the text from the cursor to the end of the line gg: jump to the beginning of the file

4. u: withdraw, return to the previous step   

5. dd: delete a line dj: delete the current line and the next line   

6. Enter tabnew at the bottom line command line to create a new file gvim+file name to create a new file

7. The gf command jumps into a certain file ctrl+^: Return to the original file

8. : The colon can enter the bottom line command mode

9. ia: enter edit mode w: save q: exit gvim esc, ctrl+C, ctrl++: exit edit mode   

10. ctrl+pageup: switch to the previous window ctrl+pagedown: switch to the next window

11. Column mode: ctrl+P dd: Delete capital I to enter the edit mode of column mode, and automatically add to each line after esc exits


Summarize

The above are the commonly used gvim shortcut operations, which will be supplemented later.

Guess you like

Origin blog.csdn.net/weixin_43414549/article/details/128840521