X-terminal-emulator的快捷键
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
·
X-terminal-emulator是很好的东西,同一个window内可以开启多个tab,同一个tab内可以开启多个terminal。即window最大,tab次之,terminal最小。
配合快捷键使用更为舒服,这几个是最常见的快捷键
- 同一个tab内,水平(Shift+Ctrl+O, horizontally)或者垂直(Shift+Ctrl+E, vertically)分隔出多个terminal
- 同一个tab内,关闭焦点所在的terminal(Shift+Ctrl+W)
- 同一个tab内,将焦点移动到tab内某个特定的terminal(Alt+上/下/左/右 )
- 同一个tab内,改变焦点所在terminal的大小(Shift+Ctrl+上/下/左/右)
- 同一个window内,新建tab(Shift+Ctrl+T),切换tab(Ctrl+Page Down/Page Up),移动tab位置(Shift+Ctrl+Page Down/Page Up)
- 向同一个window下所有tab的所有terminal发送命令,即Broadcast key events to all(Alt+A)
- 向同一个tab下的所有terminal发送命令,即Broadcast key presses to group(Alt+G)
ubuntu下X-terminal-emulator默认快捷键如下
| 功能简称 | 功能解释 | 快捷键 |
| Copy | Copy selected text | Shift+Ctrl+C |
| Paste | Paste clipboard | Shift+Ctrl+v |
| Split_horiz | Split horizontally | Shift+Ctrl+O 水 |
| Split_vert | Split vertically | Shift+Ctrl+E |
| Close_terminal | Close terminal | Shift+Ctrl+W |
| 新建_tab | Create a new tab | Shift+Ctrl+T |
| next_tab | Switch to the next tab | Ctrl+Page Down |
| prev_tab | Switch to the previous tab | Ctrl+Page Up |
| move_tab_left | Move the tab left | Shift+Ctrl+Page up |
| move_tab_right | Move the tab right | Shift+Ctrl+Page Down |
| go_down | Focus the terminal below | Alt+Down |
| go_left | Focus the terminal left | Alt+Left |
| go_right | Focus the terminal right | Alt+Right |
| go_up | Focus the terminal above | Alt+Up |
| broadcast_all | Broadcast key events to all | Alt+A |
| broadcast_group | Broadcast key presses to group | Alt+G |
| broadcast_off | Don't broadcast key presses | Alt+O |
| group_tab | Group terminals in tab | Super+T |
| ungroup_tab | Ungroup terminals in tab | Shift+Super+T |
| group_all | Group all terminals | Super+G |
| ungroup_all | Ungroup all terminals | Shift+Super+G |
| group_all_toggle | Group/Ungroup all terminals | Disabled |
| group_tab_toggle | Group/Ungroup terminals in tab | Disabled |
| edit_terminal_title(terminal最小) | Edit terminal title | Ctrl+Alt+X |
| edit_tab_title | Edit tab title | Disabled |
| edit_window_title(window最大) | Edit window title | Ctrl+Alt+W |
| reset | Reset the terminal (啥都不干) | Shift+Ctrl+R |
| reset_clear | Reset and clear the terminal (清空屏幕) | Shift+Ctrl+G |
| resize_down | Resize the terminal down | Shift+Ctrl+Down |
| resize_left | Resize the terminal left | Shift+Ctrl+Left |
| resize_right | Resize the terminal right | Shift+Ctrl+Right |
| resize_up | Resize the terminal up | Shift+Ctrl+Up |
| close_window | Close window (关闭最大的window,包含多个tab) | Shift+Ctrl+Q |
| help | Open the manual | F1 |
| full_screen | Toggle fullscreen | F11 |
| toggle_scrollbar | Show/Hide the scrollbar (显示当前terminal的左侧滚动条) | Shift+Ctrl+S |
| toggle_zoom | Maximize terminal (最大化当前terminal) | Shift+Ctrl+X |
| zoom_in | Increase font size | Ctrl++ 其实就是Shift+Ctrl+= |
| zoom_normal | Restore original font size | Ctrl+0 |
| zoom_out | Decrease font size | Ctrl+- |
| search | Search terminal scrollback | Shift+Ctrl+F |
| hide_window | Toggle window visibility | Disabled |
| insert_number | Insert terminal number | Super+1 |
| insert_padded | Insert padded terminal number | Super+0 |
| layout_launcher | Open layout launcher window | Alt+L |
| next_profile | Switch to next profile | Disabled |
| previous_profile | Switch to previous profile | Disabled |
| switch_to_tab_1 | Switch to the first tab | Disabled |
| switch_to_tab_2 | Switch to the second tab | Disabled |
| switch_to_tab_3 | Switch to the third tab | Disabled |
| switch_to_tab_4 | Switch to the fourth tab | Disabled |
| switch_to_tab_5 | Switch to the fifth tab | Disabled |
| switch_to_tab_6 | Switch to the sixth tab | Disabled |
| switch_to_tab_7 | Switch to the seventh tab | Disabled |
| switch_to_tab_8 | Switch to the eighth tab | Disabled |
| switch_to_tab_9 | Switch to the ninth tab | Disabled |
| switch_to_tab_10 | Switch to the tenth tab | Disabled |
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
6047f37e
microsoft/vcpkg-tool#1474 now validates that the target triplet is
valid. Unfortunately, `ARM64` is not valid... despite VS defaulting to
it.
VS 17.12 moved to the newer version of the vcpkg tool.
Given that we still want to build on VS 17.12, this commit adds a local
workaround.
See DD-2302065 for the internal tracking bug.
See microsoft/vcpkg#42182 for the upstream fix. 1 天前
282670a0
## Summary of the Pull Request
This extends the copy command to be able to include control sequences,
for use in tools that subsequently know how to parse and display that.
## References and Relevant Issues
https://github.com/microsoft/terminal/issues/15703
## Detailed Description of the Pull Request / Additional comments
At a high level, this:
- Expands the `CopyTextArgs` to have a `withControlSequences` bool.
- Plumbs that bool down through many layers to where we actuall get
data out of the text buffer.
- Modifies the existing `TextBuffer::Serialize` to be more generic
and renames it to `TextBuffer::ChunkedSerialize`.
- Uses the new `ChunkedSerialize` to generate the data for the copy
request.
## Validation Steps Performed
To test this I've manually:
- Generated some styled terminal contents, copied it with the control
sequences, pasted it into a file, `cat`ed the file and seen that it
looks the same.
- Set `"firstWindowPreference": "persistedWindowLayout"` and
validated that the contents of windows are saved and
restored with styling intact.
I also checked that `Invoke-OpenConsoleTests` passed.
## PR Checklist
- [x] Closes #15703
- [ ] Tests added/passed
- [x] Documentation updated
- If checked, please file a pull request on [our docs
repo](https://github.com/MicrosoftDocs/terminal) and link it here:
https://github.com/MicrosoftDocs/terminal/pull/756
- [x] Schema updated (if necessary) 4 天前
更多推荐

所有评论(0)