summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-command.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index f915464f5..1b56e4bd0 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -8010,13 +8010,13 @@ command_init ()
" || -1|+1|b#|up|down|left|right [-window <number>]"
" || <number>"
" || splith|splitv [-window <number>] [<pct>]"
- " || resize [-window <number>] [+/-]<pct>"
+ " || resize [-window <number>] [h|v][+|-]<pct>"
" || balance"
" || merge [-window <number>] [all]"
" || page_up|page_down [-window <number>]"
" || refresh"
- " || scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]"
- " || scroll_horiz [-window <number>] [+/-]<value>[%]"
+ " || scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]"
+ " || scroll_horiz [-window <number>] [+|-]<value>[%]"
" || scroll_up|scroll_down|scroll_top|scroll_bottom|"
"scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|"
"scroll_unread [-window <number>]"
@@ -8039,6 +8039,9 @@ command_init ()
"(to undo: /window merge)\n"
" resize: resize window size, new size is <pct> percentage of "
"parent window\n"
+ " if \"h\" or \"v\" is specified, the resize affects "
+ "the nearest parent window with a split of this type "
+ "(horizontal/vertical)\n"
" balance: balance the sizes of all windows\n"
" merge: merge window with another (all = keep only one "
"window)\n"
@@ -8082,6 +8085,10 @@ command_init ()
" split window horizontally using 30%% of space for the window on "
"top:\n"
" /window splith 30\n"
+ " resize window to 75%% of the parent window size:\n"
+ " /window resize 75\n"
+ " resize vertical split, add 10%% in size:\n"
+ " /window resize v+10\n"
" remove the split:\n"
" /window merge\n"
" enable bare display for 2 seconds:\n"