2026-07-04
Selecting...
Home Page
reload
Search in this channel...
Punch card
Raw Text (irssi format)
Fork on github
switch to admin mode
Jump to...
redirecting...
Log for
Ubuntu 台灣社群
am 09:08:44
Eric Chang
請問有人知道用tmux 開視窗之後,為什麼 vim 的顏色設定就沒用了嗎?
am 09:10:31
James58899
$TERM 跑掉了?
am 09:25:30
Eric Chang
研究一下 好久沒用這東西了...
am 10:48:32
Goldie Lin
可能是 256color 沒起來,在
~/.tmux.conf
設定一下
TERM
環境變數,然後重啟 tmux 跟 vim 看看:
set -g default-terminal "screen-256color"
am 10:49:11
James58899
明明是tmux卻自稱screen
am 10:49:39
V字龍 (Vdragon)
呵呵
am 10:53:33
Goldie Lin
哈哈是啊!偽裝成 screen 256 色真的很彆扭XD,不知道有無更佳解。
am 10:55:26
V字龍 (Vdragon)
am 11:01:41
James58899
其實可以用 tmux-256color
pm 12:25:41
KroyChiu@tg
https://github.com/tmux/tmux/issues/1246
created by
mmis1000
and release under
MIT License
GitHub Repo