tmux 使用总结

Tmux is a productivity enhancement tool that enables people to get rid of using mouse.
In Tmux we are concerning about 3 elements, which are session, window and pane. Let's see the basic operations on them.

Session management

  • create session
    tmux new [-s session-name]

  • attach session
    tmux attach [-t session-name]

  • check available sessions
    tmux ls

  • rename seesion
    prefix $

Window management

  • create window
    prefix c

  • rename window
    prefix ,

  • kill window
    prefix &

  • navigate window
    prefix 0..9
    long press prefix + L prefix + H

Pane management

  • create pane vertical
    prefix %

  • create pane horizontal
    prefix "

  • kill pane
    prefix C-d

  • resize pane
    prefix C-arrow
    prefix C-L
    prefix C-K
    prefix C-H
    prefix C-J

Enjoy mouse free development with Tmux. (update continuously...)

Reference
  1. Tmux configuration is cloned from .tmux
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容