【Linux 工具】tmux

安装

sudo apt-get install tmux

创建

tmux new -t name

上下分屏

tmux split

切换屏幕

control + B 然后按小键盘上或者下,实现上下屏幕的切换

暂时退出

control + B 然后按下 Z

查看 tmux 列表

tmux ls

重新进入

tmux a -t name

完全退出

exit

鼠标滚动屏幕

滚动模式:control + B 然后按下 [ 之后就可以用键盘上下键或者鼠标进行滚动
退出:esc

reference: https://qastack.cn/superuser/209437/how-do-i-scroll-in-tmux

自动获取鼠标操作

切换到主目录:cd
打开tmux配置文件:vim ~/.tmux.conf
添加鼠标获取操作:set -g mouse on

解决 tmux 在 conda 环境中无法使用的问题

在base环境中执行以下命令即
conda install -c conda-forge tmux

posted @   林東雨  阅读(110)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· [AI/GPT/综述] AI Agent的设计模式综述
历史上的今天:
2019-06-28 PAT_A1004#Counting Leaves
2019-06-28 PAT_A1053#Path of Equal Weight
2019-06-28 PAT_A1079#Total Sales of Supply Chain
2019-06-28 PAT_A1090#Highest Price in Supply Chain
2019-06-28 PAT_A1094#The Largest Generation
2019-06-28 PAT_A1106#Lowest Price in Supply Chain
2019-06-28 二叉树的建立和遍历
点击右上角即可分享
微信分享提示

目录导航