]> git.sur5r.net Git - i3/i3/blobdiff - CMDMODE
Implement a command to travel the focusstack. This can be used like a jumpback.
[i3/i3] / CMDMODE
diff --git a/CMDMODE b/CMDMODE
index 6b8315e2fa027e30f5e62ee2464ff54af026f51f..7428729a9bded1e26d06e641e8bb66af56276ce3 100644 (file)
--- a/CMDMODE
+++ b/CMDMODE
@@ -1,36 +1,41 @@
-left := <h> | <cursor-left>
-right := <l> | <cursor-right>
-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>
+---------------------
+- Command mode
+---------------------
 
-oder
+This is the grammar for the command mode (your configuration file uses these commands, too).
 
-with := <w> { [ <times> ] <where> }+ <space> <cmd>
-
-oder
+left  := <h> | <cursor-left>
+right := <l> | <cursor-right>
+up    := <j> | <cursor-up>
+down  := <k> | <cursor-down>
 
+where := <left|right|up|down> | <tag>
+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> ]
+
+you can cancel command mode by pressing escape anytime.
 
-Beispiele:
+Some examples:
 
-Fenster links neben dem aktuellen auswählen:
+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