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

Tools Shell hotkey #135

Open
junxnone opened this issue Sep 25, 2024 · 0 comments
Open

Tools Shell hotkey #135

junxnone opened this issue Sep 25, 2024 · 0 comments

Comments

@junxnone
Copy link
Owner

Shell 快捷键

移动光标

  • 移动到行首 Ctrl a
  • 移动到行尾 Ctrl e
  • 向前移动一个单词 Alt f
  • 向后移动一个单词 Alt b
  • 命令行首和光标处切换Ctrl x x

删除

  • 从光标处删除至命令行首 Ctrl u
  • 从光标处删除至命令行尾 Ctrl k
  • 从光标处删除至字首(空格处) Ctrl w
  • 从光标处删除至字尾 Alt d
  • 删除光标处的字符 Ctrl d
  • 删除光标前的字符 Ctrl h

其他

  • 逆向搜索命令历史 Ctrl r
  • 从历史搜索模式退出 Ctrl g
  • 历史中的上一条命令 Ctrl p
  • 历史中的下一条命令 Ctrl n
  • 清屏 Ctrl l
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