X-terminal-emulator是很好的东西,同一个window内可以开启多个tab,同一个tab内可以开启多个terminal。即window最大,tab次之,terminal最小。

配合快捷键使用更为舒服,这几个是最常见的快捷键

  1. 同一个tab内,水平(Shift+Ctrl+O, horizontally)或者垂直(Shift+Ctrl+E, vertically)分隔出多个terminal
  2. 同一个tab内,关闭焦点所在的terminal(Shift+Ctrl+W)
  3. 同一个tab内,将焦点移动到tab内某个特定的terminal(Alt+上/下/左/右 )
  4. 同一个tab内,改变焦点所在terminal的大小(Shift+Ctrl+上/下/左/右)
  5. 同一个window内,新建tab(Shift+Ctrl+T),切换tab(Ctrl+Page Down/Page Up),移动tab位置(Shift+Ctrl+Page Down/Page Up)
  6. 向同一个window下所有tab的所有terminal发送命令,即Broadcast key events to all(Alt+A
  7. 向同一个tab下的所有terminal发送命令,即Broadcast key presses to group(Alt+G

 

ubuntu下X-terminal-emulator默认快捷键如下

功能简称功能解释快捷键
CopyCopy selected textShift+Ctrl+C
PastePaste clipboardShift+Ctrl+v
   
Split_horizSplit horizontallyShift+Ctrl+O 水
Split_vertSplit verticallyShift+Ctrl+E
Close_terminalClose terminalShift+Ctrl+W
   
新建_tabCreate a new tabShift+Ctrl+T
next_tabSwitch to the next tabCtrl+Page Down
prev_tabSwitch to the previous tabCtrl+Page Up
move_tab_leftMove the tab leftShift+Ctrl+Page up
move_tab_rightMove the tab rightShift+Ctrl+Page Down
   
go_downFocus the terminal belowAlt+Down
go_leftFocus the terminal leftAlt+Left
go_rightFocus the terminal rightAlt+Right
go_upFocus the terminal aboveAlt+Up
go_nextFocus the next terminalShift+Ctrl+N
go_prevFocus the previous terminalShift+Ctrl+P
cycle_nextFocus the next terminalCtrl+Tab
cycle_prevFocus the previous terminalShift+Ctrl+Tab
   
broadcast_allBroadcast key events to allAlt+A
broadcast_groupBroadcast key presses to groupAlt+G
broadcast_offDon't broadcast key pressesAlt+O
   
group_tabGroup terminals in tabSuper+T
ungroup_tabUngroup terminals in tabShift+Super+T
   
group_allGroup all terminalsSuper+G
ungroup_allUngroup all terminalsShift+Super+G
   
group_all_toggleGroup/Ungroup all terminalsDisabled
group_tab_toggleGroup/Ungroup terminals in tabDisabled
   
line_downScroll downwards one lineDisabled
line_upScroll upwards one lineDisabled
page_down_halfScroll downwards half a pageDisabled
page_upScroll upwards one pageDisabled
page_up_halfScroll upwards half a pageDisabled
   
edit_terminal_title(terminal最小)Edit terminal titleCtrl+Alt+X
edit_tab_titleEdit tab titleDisabled
edit_window_title(window最大)Edit window titleCtrl+Alt+W
   
resetReset the terminal
(啥都不干)
Shift+Ctrl+R
reset_clearReset and clear the terminal
(清空屏幕)
Shift+Ctrl+G
   
resize_downResize the terminal downShift+Ctrl+Down
resize_leftResize the terminal leftShift+Ctrl+Left
resize_rightResize the terminal rightShift+Ctrl+Right
resize_upResize the terminal upShift+Ctrl+Up
   
close_windowClose window
(关闭最大的window,包含多个tab)
Shift+Ctrl+Q
new_terminatorSpawn a new Terminator processSuper+l
new_windowCreate a new windowShift+Ctrl+l
   
rotate_ccwRotate terminals counter-clockwise(逆时针)Shift+Super+R
rotate_cwRotate terminals clockwise(顺时针)Super+R
   
helpOpen the manualF1
full_screenToggle fullscreenF11
toggle_scrollbarShow/Hide the scrollbar
(显示当前terminal的左侧滚动条)
Shift+Ctrl+S
toggle_zoomMaximize terminal
(最大化当前terminal)
Shift+Ctrl+X
   
zoom_inIncrease font sizeCtrl++
其实就是Shift+Ctrl+=
zoom_normalRestore original font sizeCtrl+0
zoom_outDecrease font sizeCtrl+-
   
scaled_zoomZoom terminalShift+Ctrl+Z
searchSearch terminal scrollbackShift+Ctrl+F
   
hide_windowToggle window visibilityDisabled
insert_numberInsert terminal numberSuper+1
insert_paddedInsert padded terminal numberSuper+0
layout_launcherOpen layout launcher windowAlt+L
   
next_profileSwitch to next profileDisabled
previous_profileSwitch to previous profileDisabled
   
switch_to_tab_1Switch to the first tabDisabled
switch_to_tab_2Switch to the second tabDisabled
switch_to_tab_3Switch to the third tabDisabled
switch_to_tab_4Switch to the fourth tabDisabled
switch_to_tab_5Switch to the fifth tabDisabled
switch_to_tab_6Switch to the sixth tabDisabled
switch_to_tab_7Switch to the seventh tabDisabled
switch_to_tab_8Switch to the eighth tabDisabled
switch_to_tab_9Switch to the ninth tabDisabled
switch_to_tab_10Switch to the tenth tabDisabled
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 个月前 )
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 天前
Logo

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

更多推荐