tmux

发布时间: 2015-12-12 20:45:34 作者: 大象笔记

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 的配置文件

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

我是一名山东烟台的开发者,联系作者