summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-08-27 13:34:34 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-08-27 13:34:34 +0200
commit593b3cad727bf2e759c10372cc114fea14a74b84 (patch)
treef11a2d8793baaf00c3d73650e00caf6286c6b59d /src/core/wee-command.c
parent1a4bfcdddc7f11372b9a1e887223f3baab7bb8a6 (diff)
downloadweechat-593b3cad727bf2e759c10372cc114fea14a74b84.zip
core: add example of splith and merge in /help window
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 504f13298..fa5baf355 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -8007,8 +8007,10 @@ command_init ()
" left: switch to window on the left\n"
" right: switch to window on the right\n"
" number: window number (see /window list)\n"
- " splith: split current window horizontally\n"
- " splitv: split current window vertically\n"
+ " splith: split current window horizontally "
+ "(to undo: /window merge)\n"
+ " splitv: split current window vertically "
+ "(to undo: /window merge)\n"
" resize: resize window size, new size is <pct> percentage of "
"parent window\n"
" balance: balance the sizes of all windows\n"
@@ -8051,6 +8053,11 @@ command_init ()
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
+ " split window horizontally using 30%% of space for the window on "
+ "top:\n"
+ " /window splith 30\n"
+ " remove the split:\n"
+ " /window merge\n"
" enable bare display for 2 seconds:\n"
" /window bare 2"),
"list"