Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim常用快捷键 #46

Open
helios741 opened this issue May 8, 2019 · 0 comments
Open

vim常用快捷键 #46

helios741 opened this issue May 8, 2019 · 0 comments

Comments

@helios741
Copy link
Owner

helios741 commented May 8, 2019

https://blog.csdn.net/donahue_ldz/article/details/17139361

普通模式

向下移动一个段

)

想下移动一个段(一般是一个大括号)

向上移动一个段

(

同上

移动到屏幕的某一行

gx
比如g0就代表移动到屏幕的第一行

移动到同一行的下一个/上一个字符串

fc
把光标移动到同一行的下一个字符c处
Fc
把光标移动到同一行的上一个字符c处

移动到行首

0

移动到某一行

:x

文件头部

gg

文件尾部

https://blog.csdn.net/donahue_ldz/article/details/17139361
G

向上翻一页

control + b

向下翻一页

control + f

向下翻半页

control + d

向上翻半页

control + u

屏幕中间

M

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant