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

你可能感兴趣的:(tmux 使用总结)