因为在调试scrapy项目时用到了terminal,持续输出,不知道怎么终止,所以找了找,备忘…

Terminal快捷键 功能

Tab 自动补全

Ctrl+a 光标移动到开始位置

Ctrl+e 光标移动到最末尾

Ctrl+k 删除此处至末尾的所有内容

Ctrl+u 删除此处至开始的所有内容

Ctrl+d 删除当前字符

Ctrl+h 删除当前字符前一个字符

Ctrl+w 删除此处到左边的单词

Ctrl+y 粘贴由 Ctrl+u , Ctrl+d , Ctrl+w 删除的单词

Ctrl+l 相当于clear,即清屏

Ctrl+r 查找历史命令

Ctrl+b 向回移动光标

Ctrl+f 向前移动光标

Ctrl+t 将光标位置的字符和前一个字符进行位置交换

Ctrl+& 恢复 ctrl+h 或者 ctrl+d 或者 ctrl+w 删除的内容

Ctrl+S 暂停屏幕输出

Ctrl+Q 继续屏幕输出

Ctrl+Left-Arrow 光标移动到上一个单词的词首

Ctrl+Right-Arrow 光标移动到下一个单词的词尾

Ctrl+p 向上显示缓存命令

Ctrl+n 向下显示缓存命令

Ctrl+d 关闭终端

Ctrl+xx 在EOL和当前光标位置移动

Ctrl+x@ 显示可能hostname补全

Ctrl+c 终止进程/命令

Shift +上或下 终端上下滚动

Shift+PgUp/PgDn 终端上下翻页滚动

Ctrl+Shift+n 新终端

alt+F2 输入gnome-terminal打开终端

Shift+Ctrl+T 打开新的标签页

Shift+Ctrl+W 关闭标签页

Shift+Ctrl+C 复制

Shift+Ctrl+V 粘贴

Alt+数字 切换至对应的标签页

Shift+Ctrl+N 打开新的终端窗口

Shift+Ctrl+Q 管壁终端窗口

Shift+Ctrl+PgUp/PgDn 左移右移标签页

Ctrl+PgUp/PgDn 切换标签页

F1 打开帮助指南

F10 激活菜单栏

F11 全屏切换

Alt+F 打开 “文件” 菜单(file)

Alt+E 打开 “编辑” 菜单(edit)

Alt+V 打开 “查看” 菜单(view)

Alt+S 打开 “搜索” 菜单(search)

Alt+T 打开 “终端” 菜单(terminal)

Alt+H 打开 “帮助” 菜单(help)

Pycharm 常用快捷键

delete: Delete

delete a word:

delete line: command+Backspace

move caret to block start: command+alt+[ with selection (+shift)

move caret to block end: command+alt+] with selection (+shift)

move caret to next word: alt+->

move caret to next word with selection: shift+alt+->

left with selection: shift+<-

转载自知乎

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 个月前 )
d04381ec "HighContrast" is not a possible requested theme. So `_UpdateBackgroundForMica()` would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme. 5 天前
e83434ff Turns out that having the styles for the KeyChordText and ParsedCommandLineText be empty for high contrast mode caused the issue. Since we're already using theme resources for the colors, we automatically adjust properly to whatever the high contrast theme is (Thanks XAML!). Bonus points: - we didn't need the theme dictionaries anymore, so I just moved them to the ResourceDictionary directly - ParsedCommandLineTextBlockStyle isn't used. So I removed it altogether. Validated command palette with multiple high contrast themes. See PR thread for demo. Closes #17914 5 天前
Logo

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

更多推荐