Implement a command to travel the focusstack. This can be used like a jumpback.
However, it is a bit more flexible obviously. You can specify the offset of the window you want to go to, to implement workflows like the following: * Jump to mutt * Jump to irssi * Jump back ("focus 2" would be the command)
This commit is contained in:
51
CMDMODE
51
CMDMODE
@ -1,40 +1,41 @@
|
||||
left := <h> | <cursor-left>
|
||||
---------------------
|
||||
- Command mode
|
||||
---------------------
|
||||
|
||||
This is the grammar for the command mode (your configuration file uses these commands, too).
|
||||
|
||||
left := <h> | <cursor-left>
|
||||
right := <l> | <cursor-right>
|
||||
up := <j> | <cursor-up>
|
||||
down := <k> | <cursor-down>
|
||||
up := <j> | <cursor-up>
|
||||
down := <k> | <cursor-down>
|
||||
|
||||
where := <left|right|up|down> | <tag>
|
||||
move := <m>
|
||||
snap := <s>
|
||||
|
||||
Eingabe ist entweder
|
||||
|
||||
cmd := [ <times> ] [ <move> | <snap> ] <where>
|
||||
|
||||
oder
|
||||
|
||||
with := <w> { [ <times> ] <where> }+ <space> <cmd>
|
||||
|
||||
oder
|
||||
|
||||
jump := [ "<window class>[/<window title>]" | <workspace> [ <column> <row> ] ]
|
||||
|
||||
oder
|
||||
move := <m>
|
||||
snap := <s>
|
||||
|
||||
cmd := [ <times> ] [ <move> | <snap> ] <where>
|
||||
with := <w> { [ <times> ] <where> }+ <space> <cmd>
|
||||
jump := [ "<window class>[/<window title>]" | <workspace> [ <column> <row> ] ]
|
||||
focus := focus [ <times> ]
|
||||
(travels the focus stack backwards the given amount of times (by default 1), so
|
||||
it selects the window which had the focus before you focused the current one when
|
||||
specifying "focus 1")
|
||||
special := [ exec <path> | kill | exit | restart ]
|
||||
|
||||
an jeder Stelle kann mit escape abgebrochen werden
|
||||
input := [ <cmd> | <with> | <jump> | <focus> | <special> ]
|
||||
|
||||
Beispiele:
|
||||
you can cancel command mode by pressing escape anytime.
|
||||
|
||||
Fenster links neben dem aktuellen auswählen:
|
||||
Some examples:
|
||||
|
||||
Select the window on the left:
|
||||
h
|
||||
|
||||
Fenster zwei links neben dem aktuellen auswählen:
|
||||
Select the window two places on the left:
|
||||
2h
|
||||
|
||||
Fenster nach rechts verschieben:
|
||||
Move window to the right:
|
||||
ml
|
||||
|
||||
Fenster und Fenster untendrunter nach rechts verschieben:
|
||||
Move window and window on the bottom to the right:
|
||||
wk ml
|
||||
|
Reference in New Issue
Block a user