]> git.sur5r.net Git - i3/i3/blob - CMDMODE
Implement a command to travel the focusstack. This can be used like a jumpback.
[i3/i3] / CMDMODE
1 ---------------------
2 - Command mode
3 ---------------------
4
5 This is the grammar for the command mode (your configuration file uses these commands, too).
6
7 left  := <h> | <cursor-left>
8 right := <l> | <cursor-right>
9 up    := <j> | <cursor-up>
10 down  := <k> | <cursor-down>
11
12 where := <left|right|up|down> | <tag>
13 move  := <m>
14 snap  := <s>
15
16 cmd     := [ <times> ] [ <move> | <snap> ] <where>
17 with    := <w> { [ <times> ] <where> }+ <space> <cmd>
18 jump    := [ "<window class>[/<window title>]" | <workspace> [ <column> <row> ] ]
19 focus   := focus [ <times> ]
20 (travels the focus stack backwards the given amount of times (by default 1), so
21  it selects the window which had the focus before you focused the current one when
22  specifying "focus 1")
23 special := [ exec <path> | kill | exit | restart ]
24
25 input := [ <cmd> | <with> | <jump> | <focus> | <special> ]
26
27 you can cancel command mode by pressing escape anytime.
28
29 Some examples:
30
31 Select the window on the left:
32 h
33
34 Select the window two places on the left:
35 2h
36
37 Move window to the right:
38 ml
39
40 Move window and window on the bottom to the right:
41 wk ml