mirror of
https://github.com/tmux/tmux.git
synced 2025-03-03 14:18:56 +00:00
Update.
This commit is contained in:
parent
6f2edda785
commit
aa0f2de98a
59
NOTES
59
NOTES
@ -8,9 +8,7 @@ Key bindings:
|
|||||||
n next window
|
n next window
|
||||||
p previous window
|
p previous window
|
||||||
l last (next to last selected) window
|
l last (next to last selected) window
|
||||||
r refresh screen
|
? list current key bindings
|
||||||
w list current windows
|
|
||||||
i show window info
|
|
||||||
0-9 select window
|
0-9 select window
|
||||||
|
|
||||||
There is one default server process per user which puts its socket in
|
There is one default server process per user which puts its socket in
|
||||||
@ -18,35 +16,46 @@ There is one default server process per user which puts its socket in
|
|||||||
invocations will connect to the same server. The server holds multiple
|
invocations will connect to the same server. The server holds multiple
|
||||||
sessions.
|
sessions.
|
||||||
|
|
||||||
Syntax is: tmux [-v] [-S path] command [flags]
|
Syntax is: tmux [-v] [-S path] [-s sessioon] command [flags]
|
||||||
|
|
||||||
-v Create logfiles, verbosity increases with more -v
|
-v Create logfiles, verbosity increases with more -v
|
||||||
-S Set different server socket path
|
-S Set different server socket path
|
||||||
|
-s Specify session name for command, if appropriate.
|
||||||
Commands:
|
|
||||||
(Commands can be shortened, as long as they are unambiguous)
|
|
||||||
|
|
||||||
new-session [-s <session name>] [-d]
|
|
||||||
Create new session. Attaches to new session unless -d is given.
|
|
||||||
|
|
||||||
attach [-s <session name>]
|
|
||||||
Attach to session.
|
|
||||||
|
|
||||||
list-sessions
|
|
||||||
List sessions (can be shortened to ls).
|
|
||||||
|
|
||||||
list-windows [-s <session name>]
|
|
||||||
List windows (can be shortened to lsw).
|
|
||||||
|
|
||||||
rename-window [-s <session name>] [-i <window index>] name
|
|
||||||
Rename window.
|
|
||||||
|
|
||||||
If a session name is not given, the current session is assumed if a command
|
If a session name is not given, the current session is assumed if a command
|
||||||
is run from inside tmux and the TMUX environment variable is available,
|
is run from inside tmux and the TMUX environment variable is available,
|
||||||
otherwise if only one exists, it is used or if multiple exist, an error is
|
otherwise if only one exists, it is used or if multiple exist, an error is
|
||||||
generated.
|
generated.
|
||||||
|
|
||||||
Sessions are destroyed when no windows remain attached to them.
|
Commands:
|
||||||
|
(Commands can be shortened, as long as they are unambiguous)
|
||||||
|
|
||||||
You might get message "couldn't find server" after a crash, in this case you
|
new-session [-d] [-s session name] [-n window name] [command]
|
||||||
must remove the /tmp/tmux-`id -u` file manually.
|
Create new session. Attaches to new session unless -d is given.
|
||||||
|
|
||||||
|
attach-session [-d]
|
||||||
|
Attach to session. Detaches other clients if -d is given.
|
||||||
|
|
||||||
|
list-sessions
|
||||||
|
List sessions (can be shortened to ls).
|
||||||
|
|
||||||
|
list-windows
|
||||||
|
List windows (can be shortened to lsw).
|
||||||
|
|
||||||
|
rename-window [-i <window index>] new name
|
||||||
|
Rename window.
|
||||||
|
|
||||||
|
bind-key key command
|
||||||
|
Bind a key to a command (use ^A for ctrl-A), commands are as listed
|
||||||
|
above.
|
||||||
|
|
||||||
|
list-keys
|
||||||
|
List current key bindings.
|
||||||
|
|
||||||
|
unbind-key key
|
||||||
|
Unbind a key from a command.
|
||||||
|
|
||||||
|
set-option prefix key
|
||||||
|
Set command prefix (meta) key.
|
||||||
|
|
||||||
|
Sessions are destroyed when no windows remain attached to them.
|
||||||
|
Loading…
Reference in New Issue
Block a user