tmux

tmux

简介

tmux教程

概念

Session 一组窗口的集合,通常用来概括同一个任务。session可以有自己的名字便于任务之间的切换。

Window 单个可见窗口。Windows有自己的编号,也可以认为和ITerm2中的Tab类似。

Pane 窗格,被划分成小块的窗口,类似于Vim中 C-w +v 后的效果。

Session操作

操作  快捷键
查看/切换session    prefix s
离开Session   prefix d
重命名当前Session    prefix $

Window操作

新建窗口    prefix c
切换到上一个活动的窗口 prefix space
关闭一个窗口  prefix &
使用窗口号切换 prefix 窗口号

Pane操作

切换到下一个窗格    prefix o
查看所有窗格的编号   prefix q
垂直拆分出一个新窗格  prefix “
水平拆分出一个新窗格  prefix %
暂时把一个窗体放到最大 prefix z
Your mouse is slowing you down. The time you spend context switching between your editor and your consoles eats away at your productivity. Take control of your environment with tmux, a terminal multiplexer that you can tailor to your workflow. With this updated second edition for tmux 2.2, you'll customize, script, and leverage tmux's unique abilities to craft a productive terminal environment that lets you keep your fingers on your keyboard's home row. You have a database console, web server, test runner, and text editor running at the same time, but switching between them and trying to find what you need takes up valuable time and breaks your concentration. By using tmux 2.2, you can improve your productivity and regain your focus. This book will show you how. This second edition includes many features requested by readers, including how to integrate plugins into your workflow, how to integrate tmux with Vim for seamless navigation - oh, and how to use tmux on Windows 10. Use tmux to manage multiple terminal sessions in a single window using only your keyboard. Manage and run programs side by side in panes, and create the perfect development environment with custom scripts so that when you're ready to work, your programs are waiting for you. Manipulate text with tmux's copy and paste buffers, so you can move text around freely between applications. Discover how easy it is to use tmux to collaborate remotely with others, and explore more advanced usage as you manage multiple tmux sessions, add custom scripts into the tmux status line, and integrate tmux with your system. Whether you're an application developer or a system administrator, you'll find many useful tricks and techniques to help you take control of your terminal. Table of Contents Chapter 1. Learning the Basics Chapter 2. Configuring tmux Chapter 3. Scripting Customized tmux Environments Chapter 4. Working With Text and Buffers Chapter 5. Pair Programming with tmux Chapter 6. Workflows
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值