# tmux **Repository Path**: chinafengliang/tmux ## Basic Information - **Project Name**: tmux - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-25 - **Last Updated**: 2023-11-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README My tmux configuration ### Install tmux ```bash $ sudo apt-get install tmux ``` ### Install dependency ```bash $ sudo apt-get install xsel ``` ### Configuration ```bash $ mkdir -p ~/etc && cd ~/etc $ rm .tmux.conf $ git clone https://github.com/ChinaFengliang/tmux.git $ ln -s ~/etc/tmux/tmux.conf .tmux.conf ``` add the following line to `~/.bash_aliases` file and then `source ~/.bash_aliases`: ```bash alias tmux='tmux -2' ``` # WSL 禁能窗口的`启用 Ctrl 键快捷方式`, 否则 tmux 的自定义快捷组合键无法正常使用。 # 设置 ## 鼠标 `bind-key m` 使能/禁能鼠标功能。在Windows平台中,在使能鼠标功能后导致Windows系统粘贴 板的内容不能粘贴到WSL的控制台。因此建议禁能鼠标功能。