当前位置:网站首页>tmux随笔
tmux随笔
2022-07-29 05:02:00 【强殖装甲凯普】
文章目录
前言
tmux解绑会话与终端,通过ssh远程连接的时候可以通过tmux保留会话,这样一些输出或运行的程序在断开连接后依然可以保留。
quick start
tmux new -s demo # 新建一个名称为demo的会话
tmux a -t demo # 进入到名称为demo的会话
快捷键Ctrl+b d 退出
下面网站给了很多快捷键:
https://cloud.tencent.com/developer/article/1375208
https://www.ruanyifeng.com/blog/2019/10/tmux.html
需要按住shift才能使用鼠标右键菜单复制粘贴。
配置tmux鼠标滑轮,首先clone代码:
git clone https://github.com/NHDaly/tmux-better-mouse-mode
然后编辑tmux配置文件:vim ~/.tmux.conf,输入:
set-option -g mouse on
run-shell ~/tmux-better-mouse-mode/scroll_copy_mode.tmux
set -g @scroll-speed-num-lines-per-scroll 10
更新tmux配置:
tmux source-file ~/.tmux.conf
OK
边栏推荐
- Reply from the Secretary of jindawei: the company is optimistic about the market prospect of NMN products and has launched a series of products
- Command line interactive tools (latest version) inquirer practical tutorial
- Reveal安装配置调试
- Implementation of flutter gesture monitoring and Sketchpad
- pytorch学习笔记
- Traffic flow prediction pit climbing record (I): traffic flow data set, original data
- 电脑无法打开excel表格怎么办?excel打不开的解决方法
- 2022杭电多校联赛第四场 题解
- PHP判断用户是否已经登录,如果登录则显示首页,如果未登录则进入登录页面或注册页面
- Quick start JDBC
猜你喜欢

What are the core features of the digital transformation of state-owned construction enterprises?

Download addresses of various versions of MySQL and multi version coexistence installation

Quick start JDBC

【微信小程序--解决display:flex最后一行对齐问题。(不连续排列会分到两边)】

pytorch学习笔记

Understand activity workflow

What if the computer cannot open excel? The solution of Excel not opening

ios面试准备 - 网络篇

Sguard64.exe ace guard client exe: frequent disk reading and writing, game jamming, and Solutions

Implementation of flutter gesture monitoring and Sketchpad
随机推荐
un7.28:redis客户端常用命令。
The difference between the two ways of thread implementation - simple summary
Implementation of flutter gesture monitoring and Sketchpad
让你的正则表达式可读性提高一百倍
Numpy basic learning
The most comprehensive promotion plan for the launch of new products
What if excel is stuck and not saved? The solution of Excel not saved but stuck
ODOO开发教程之透视表
荣耀2023内推,内推码ambubk
Spark的算子操作列表
A little knowledge about management
iOS面试准备 - 其他篇
Torch.nn.crossentropyloss() details
Improve the readability of your regular expressions a hundred times
Software test interview questions (4)
< El table column> place multiple pictures
Using jupyter (I), install jupyter under windows, open the browser, and modify the default opening address
Solution to the fourth game of 2022 Hangzhou Electric Multi school league
【微信小程序】swiper滑动页面,滑块左右各露出前后的一部分,露出一部分
那个准时上下班,从不愿意加班加点的人,在我前面升职了...