Support \ for line continuation in the configuration file, from Julius

Plenz.
This commit is contained in:
Nicholas Marriott
2011-08-24 10:46:01 +00:00
parent f01b7191a3
commit 0588168a64
2 changed files with 32 additions and 9 deletions

6
tmux.1
View File

@ -491,7 +491,8 @@ $ tmux bind-key F1 set-window-option force-width 81
Multiple commands may be specified together as part of a
.Em command sequence .
Each command should be separated by spaces and a semicolon;
commands are executed sequentially from left to right.
commands are executed sequentially from left to right and
lines ending with a backslash continue on to the next line.
A literal semicolon may be included by escaping it with a backslash (for
example, when specifying a command sequence to
.Ic bind-key ) .
@ -507,6 +508,9 @@ rename-session -tfirst newname
set-window-option -t:0 monitor-activity on
new-window ; split-window -d
bind-key R source-file ~/.tmux.conf \e; \e
display-message "source-file done"
.Ed
.Pp
Or from