tmux

更新日期: 2022-05-31 阅读次数: 7448 分类: 工具

Install tmuxinator on Ubuntu

$ sudo apt-get install rubygem
$ sudo gem install tmuxinator

Manage configurattion with tmuxinator

add below line to .bash_profile

export EDITOR=vim

new a configure file

$ tmuxinator open <project_name>

open a project

$ tmuxinator <project_name>

Common shortcut

rename a window:

PREFIX ,

new a window:

PREFIX c

copy:

PREFIX [, SPACE to start, ENTER to end

paste:

PREFIX ]

kill pane:

PREFIX x

new session:

tmux new -s sunzhongwei 

attach session:

tmux attach -t <id>     (tmux ls 获得)

Destroy the given session

closing any windows linked to it and no other sessions, and detaching all clients attached to it.

tmux kill-session -t sunzhongwei 

如何管理 tmuxinator 的配置文件

统一放到私有配置仓库中。

tags: tmux

关于作者 🌱

我是来自山东烟台的一名开发者,有敢兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式