1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

core: add new resize prefix (h/v) and examples of resize in /help window

This commit is contained in:
Sébastien Helleu
2017-01-22 09:25:41 +01:00
parent 1b23cd3a47
commit 459f58f6aa
14 changed files with 233 additions and 124 deletions
+10 -3
View File
@@ -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"