2007-09-20 18:48:04 +00:00
|
|
|
Command prefix is C-b. This can be changed by building with, for example:
|
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
META='\001' make
|
2007-07-09 19:04:12 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
Keybindings:
|
|
|
|
d detach
|
|
|
|
c create new window
|
|
|
|
n next window
|
|
|
|
p previous window
|
|
|
|
l last (next to last selected) window
|
|
|
|
r refresh screen
|
|
|
|
w list current windows
|
|
|
|
i show window info
|
|
|
|
0-9 select window
|
2007-07-09 19:04:12 +00:00
|
|
|
|
|
|
|
There is one default server process per user which puts its socket in
|
|
|
|
/tmp/tmux-UID. It is created the first time tmux is run and subsequent
|
|
|
|
invocations will connect to the same server. The server holds multiple
|
2007-08-27 13:45:26 +00:00
|
|
|
sessions.
|
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
Syntax is: tmux [-v] [-S path] command [flags]
|
2007-08-27 13:45:26 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
-v Create logfiles, verbosity increases with more -v
|
|
|
|
-S Set different server socket path
|
2007-08-27 13:45:26 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
Commands:
|
|
|
|
(Commands can be shortened, as long as they are unambigous)
|
2007-08-27 13:45:26 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
new-session [-s <session name>] [-d]
|
|
|
|
Create new session. Attaches to new session unless -d is given.
|
2007-08-27 13:45:26 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
attach [-s <session name>]
|
|
|
|
Attach to session.
|
2007-08-27 15:28:07 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
list-sessions
|
|
|
|
List sessions (can be shortened to ls).
|
2007-08-27 13:45:26 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
list-windows [-s <session name>]
|
|
|
|
List windows (can be shortened to lsw).
|
2007-08-27 13:45:26 +00:00
|
|
|
|
2007-10-01 18:05:34 +00:00
|
|
|
rename-window [-s <session name>] [-i <window index>] name
|
|
|
|
Rename window.
|
2007-08-27 13:45:26 +00:00
|
|
|
|
|
|
|
Sessions are destroyed when no windows remain attached to them.
|
2007-07-09 19:04:12 +00:00
|
|
|
|
|
|
|
You might get message "couldn't find server" after a crash, in this case you
|
|
|
|
must remove the /tmp/tmux-`id -u` file manually.
|