]> git.sur5r.net Git - i3/i3/blobdiff - CMDMODE
Merge branch 'nagbar-wrap' into next
[i3/i3] / CMDMODE
diff --git a/CMDMODE b/CMDMODE
index d7c2462eec40000e8dfac00abe9450a80f43922f..95cb5bc178cd90d504d4938095170ed2e23bb880 100644 (file)
--- a/CMDMODE
+++ b/CMDMODE
@@ -1,32 +1,47 @@
-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 := { [ <times> ] <where> }+ <enter> <cmd>
-
-an jeder Stelle kann mit escape abgebrochen werden
-
-Beispiele:
+left  := <h> | <cursor-left>
+right := <l> | <cursor-right>
+up    := <j> | <cursor-up>
+down  := <k> | <cursor-down>
 
-Fenster links neben dem aktuellen auswählen:
+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> | floating | tiling | ft ]
+  (travels the focus stack backwards, <times> number of times (by default 1).
+   So by specifying "focus 1" it selects the window which last had the focus
+   before you focused the current one window.
+   The following 3 special values are also valid:
+    'floating' (select the next floating window).
+      'tiling' (select the next tiling window).
+          'ft' (toggle tiling/floating: if the current window is floating,
+                select the next tiling window and vice-versa)
+special := [ exec <path> | kill | exit | restart ]
+
+input   := [ <cmd> | <with> | <jump> | <focus> | <special> ]
+
+you can cancel command mode by pressing escape anytime.
+
+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:
-wk<enter>ml
+Move window and window on the bottom to the right:
+wk ml