Sync OpenBSD patchset 951:

Support \ for line continuation in the configuration file, from Julius
Plenz.
This commit is contained in:
Tiago Cunha
2011-08-25 21:14:23 +00:00
parent d390a90bf0
commit 4a01da19df
2 changed files with 32 additions and 9 deletions

6
tmux.1
View File

@ -495,7 +495,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 ) .
@ -511,6 +512,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