终端操作

Ctrl+d/exit 退出当前Termina1
Ctrl+l/clear 清除屏幕
Ctrl+Alt+t/Ctrl+shift+n 打开新终端窗口
Ctrl+shift+t 打开新终端标签页
Ctrl+shift+c 复制
Ctrl+shift+v 黏贴
Ctrl+Pageup/Pagedown 左右切换标签页
Ctrl+s 暂停屏幕输出
Ctrl+q 继续屏幕输出
Ctrl+k 删除当前光标位置至末尾的所有内容
Ctrl+u 删除当前光标位置至开头的所有内容
Shift+Pageup/Pagedown 上下滚动屏幕
F11 全屏切换
Ctrl+win+上下键 切换console控制台的最大化

光标移动

Ctrl + a 移动到本行开头
Ctrl + e 移动到本行结尾
Ctrl + p 上一个命令(或者方向键的上箭头)
Ctrl + n 下一个命令(或者方向键的下箭头)
Alt + b 往回移动一个word(或者Option+Right-Arrow)
Alt + f 往前移动一个word(或者Option+Left-Arrow)
Ctrl + f 往前移动光标
Ctrl + b 往回移动光标
Ctrl + xx 选中当前光标字符与本行首字符之间的所有内容

GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
06890671 `pathTranslationStyle` has four options: - `none`: Do no translation - `wsl`: Translate `C:\` to `/mnt/c` and `\\wsl$\Foo\bar` to `/bar` - `cygwin`: Translate `C:\` to `/cygdrive/c` - `msys2`: Translate `C:\` to `/c` It is intended as a broadly-supported replacement for us checking the source every time the user drops a path. We no longer need to push the source name all the way down to the control. I am hesitant to commit to using other folks' product names in our settings model, however, these are almost certainly more recognizable than whatever other weird names we could come up with. The Git Bash fragment extension profile could conceivably use `pathTranslationStyle` `msys2` to make sure drag/dropped paths look right. 1 天前
90866c7c The original intent with dynamic profiles was that they could be uninstalled but that Terminal would remember your settings in case they ever came back. After we implemented dynamic profile _deletion_, however, we accidentally made it so that saving your settings after a dynamic profile disappeared scoured it from the planet _forever_ (since we remembered that we generated it, but now it was no longer in the settings file). This pull request implements: - Tracking for orphaned dynamic profiles - A new settings page for the profile that explains what happened - Badging on the Navigation Menu indicating which profiles are orphaned and which are hidden Closes #14061 Closes #11510 Refs #13916 Refs #9997 1 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐