wezterm 就是个 基本的终端管理器,用 lua脚本写的配置文件

  • 支持 ssh/config
  • 支持 设置各种快捷键
  • 支持快速正则匹配选择终端上的内容,比如电话,邮箱,网址
  • 支持三击选中整行
  • 支持分屏,调整pane 大小
  • 支持wezterm 命令行 对所有 wezterm 实例发送批量命令
  • 支持调用外部程序连接ssh 远程,我就在用 tssh 来连接,因为支持 tsz 和 trz,在tmux 里发送接收文件友好。

发送命令效果图

效果图

配置文件 结构可以很复杂

也可以所有配置梭哈在一个文件里

-- Pull in the wezterm APIlocal wezterm = require 'wezterm'-- This will hold the configuration.local config = wezterm.config_builder()-- This is where you actually apply your config choices.-- For example, changing the initial geometry for new windows:config.initial_cols = 120config.initial_rows = 28-- or, changing the font size and color scheme.config.font_size = 10config.color_scheme = 'AdventureTime'-- Finally, return the configuration to wezterm:return config

详细配置说明文档

https://wezterm.org/config/lua/general.html