Skip to content

Commit c3e5bbd

Browse files
committed
Update doc/winresizer.txt with new keycodes and focus mode keys
1 parent 36c5140 commit c3e5bbd

1 file changed

Lines changed: 94 additions & 0 deletions

File tree

doc/winresizer.txt

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,45 @@ Once inside winresizer session:
9393
q *winresizer-q*
9494
Cancel size/move/focus change.
9595

96+
x *winresizer-x*
97+
Close the current window. No-op if only one window remains.
98+
99+
_ *winresizer-_*
100+
Maximize the height of the current window (|win-resize| mode only).
101+
102+
| *winresizer-bar*
103+
Maximize the width of the current window (|win-resize| mode only).
104+
105+
= *winresizer-=*
106+
Equalize the size of all windows (|win-resize| mode only).
107+
108+
J *winresizer-J*
109+
Switch to the previous tab page (all modes).
110+
111+
K *winresizer-K*
112+
Switch to the next tab page (all modes).
113+
114+
------------------------------------------------------------------------------
115+
Keys available in |win-focus| mode only:
116+
117+
s *winresizer-s*
118+
Split the current window horizontally.
119+
120+
v *winresizer-v*
121+
Split the current window vertically.
122+
123+
$ *winresizer-$*
124+
Move focus to the last window.
125+
126+
w *winresizer-w*
127+
Move focus to the next window.
128+
129+
W *winresizer-W*
130+
Move focus to the previous window.
131+
132+
1-9 *winresizer-1-9*
133+
Move focus directly to window number N.
134+
96135
==============================================================================
97136
CUSTOMIZATION *winresizer-customization*
98137

@@ -115,6 +154,17 @@ Overview:~
115154
|g:winresizer_keycode_mode| ............. Key for mode switch
116155
|g:winresizer_keycode_finish| ........... Key for finish
117156
|g:winresizer_keycode_cancel| ........... Key for cancel
157+
|g:winresizer_keycode_close| ............ Key for closing a window
158+
|g:winresizer_keycode_hfull| ............ Key for maximizing window height
159+
|g:winresizer_keycode_vfull| ............ Key for maximizing window width
160+
|g:winresizer_keycode_sizeeq| ........... Key for equalizing window sizes
161+
|g:winresizer_keycode_tabl| ............. Key for previous tab
162+
|g:winresizer_keycode_tabr| ............. Key for next tab
163+
|g:winresizer_keycode_split| ............ Key for horizontal split (focus mode)
164+
|g:winresizer_keycode_vsplit| ........... Key for vertical split (focus mode)
165+
|g:winresizer_keycode_flast| ............ Key for last window (focus mode)
166+
|g:winresizer_keycode_fnext| ............ Key for next window (focus mode)
167+
|g:winresizer_keycode_fprev| ............ Key for previous window (focus mode)
118168

119169
------------------------------------------------------------------------------
120170
Detailed description and default values:~
@@ -186,6 +236,50 @@ Detailed description and default values:~
186236
*g:winresizer_keycode_cancel*
187237
* The keycode used as the `cancel` or `q` key >
188238
let g:winresizer_keycode_cancel=113 " q
239+
<
240+
*g:winresizer_keycode_close*
241+
* The keycode used to close the current window (no-op if only one window) >
242+
let g:winresizer_keycode_close=120 " x
243+
<
244+
*g:winresizer_keycode_hfull*
245+
* The keycode used to maximize the current window height (resize mode only) >
246+
let g:winresizer_keycode_hfull=95 " _
247+
<
248+
*g:winresizer_keycode_vfull*
249+
* The keycode used to maximize the current window width (resize mode only) >
250+
let g:winresizer_keycode_vfull=124 " |
251+
<
252+
*g:winresizer_keycode_sizeeq*
253+
* The keycode used to equalize all window sizes (resize mode only) >
254+
let g:winresizer_keycode_sizeeq=61 " =
255+
<
256+
*g:winresizer_keycode_tabl*
257+
* The keycode used to switch to the previous tab page (all modes) >
258+
let g:winresizer_keycode_tabl=74 " J
259+
<
260+
*g:winresizer_keycode_tabr*
261+
* The keycode used to switch to the next tab page (all modes) >
262+
let g:winresizer_keycode_tabr=75 " K
263+
<
264+
*g:winresizer_keycode_split*
265+
* The keycode used to split the window horizontally (focus mode only) >
266+
let g:winresizer_keycode_split=115 " s
267+
<
268+
*g:winresizer_keycode_vsplit*
269+
* The keycode used to split the window vertically (focus mode only) >
270+
let g:winresizer_keycode_vsplit=118 " v
271+
<
272+
*g:winresizer_keycode_flast*
273+
* The keycode used to move focus to the last window (focus mode only) >
274+
let g:winresizer_keycode_flast=36 " $
275+
<
276+
*g:winresizer_keycode_fnext*
277+
* The keycode used to move focus to the next window (focus mode only) >
278+
let g:winresizer_keycode_fnext=119 " w
279+
<
280+
*g:winresizer_keycode_fprev*
281+
* The keycode used to move focus to the previous window (focus mode only) >
282+
let g:winresizer_keycode_fprev=87 " W
189283
<
190284
==============================================================================
191285
LICENSE *winresizer-license*

0 commit comments

Comments
 (0)