Skip to content

tmux

tmux 中 vim 字体会加粗

解决: echo $TERM 查看配色,然后 tmux 中 set -g default-terminal "xterm-256color" (我的是这个,因人而异)

tmux 配置文件一直 source 无效

解决: 实际上还有 server 在开着,所以强行停止它: tmux kill-server
参考: https://unix.stackexchange.com/questions/66606/tmux-not-sourcing-my-tmux-conf

tmux 绑定键位不要prefix

解决: bind-key -n C-1 select-pane -t 1 (-n → no prefix)
参考: https://superuser.com/questions/238545/binding-a-command-in-tmux-without-using-the-prefix-key

tmux 快键键设置为两个 key (例如如何映射vG)

解决: source/2020-02-03-131236_1920x1080_scrot.png
参考: https://superuser.com/questions/446721/tmux-bind-key-with-two-keys

tmux 中 vim 无法拖动改变窗口大小

解决: vimrc --> set ttymouse=xterm2
参考: https://superuser.com/questions/549930/cant-resize-vim-splits-inside-tmux

Comments