注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
启动新会话:
tmux [new -s 会话名 -n 窗口名]
恢复会话:
| #!/bin/sh | |
| set -e | |
| # Auto-Get the latest commit sha via command line. | |
| get_latest_release() { | |
| tag=$(curl --silent "https://api.github.com/repos/${1}/releases/latest" | # Get latest release from GitHub API | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' ) # Pluck JSON value | 
Preferences | Appearance | Tabs | Theme > Darkdstr > ttf, install all font files by double clicking)Preferences | Profiles | Text
Font to 14pt Fira code regular and Check Use Ligatures checkboxNon ASCII Font to 14pt Fira mono and Check Use Ligatures checkboxPreferences | Profiles | Color Presets > Snazzy