From 153462824bdb0a5d3b54587e65c08c1876cc9cc3 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 26 Oct 2009 15:13:25 +0100 Subject: [PATCH] Add cursor keys for focussing, moving, snapping to the default config --- i3.config | 20 ++++++++++++++++++++ man/i3.man | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/i3.config b/i3.config index 4187d317..9acd7060 100644 --- a/i3.config +++ b/i3.config @@ -36,24 +36,44 @@ bind Mod1+44 h bind Mod1+45 j bind Mod1+46 k bind Mod1+47 l +# (alternatively, you can use the cursor keys:) +bindsym Mod1+Left h +bindsym Mod1+Down j +bindsym Mod1+Up k +bindsym Mod1+Right l # Focus Container (Mod3+j/k/l/;) bind Mod3+44 wch bind Mod3+45 wcj bind Mod3+46 wck bind Mod3+47 wcl +# (alternatively, you can use the cursor keys:) +bindsym Mod3+Left h +bindsym Mod3+Down j +bindsym Mod3+Up k +bindsym Mod3+Right l # Snap (Mod1+Control+j/k/l/;) bind Mod1+Control+44 sh bind Mod1+Control+45 sj bind Mod1+Control+46 sk bind Mod1+Control+47 sl +# (alternatively, you can use the cursor keys:) +bindsym Mod1+Control+Left h +bindsym Mod1+Control+Down j +bindsym Mod1+Control+Up k +bindsym Mod1+Control+Right l # Move (Mod1+Shift+j/k/l/;) bind Mod1+Shift+44 mh bind Mod1+Shift+45 mj bind Mod1+Shift+46 mk bind Mod1+Shift+47 ml +# (alternatively, you can use the cursor keys:) +bindsym Mod1+Shift+Left h +bindsym Mod1+Shift+Down j +bindsym Mod1+Shift+Up k +bindsym Mod1+Shift+Right l # Move Container (Mod3+Shift+j/k/l/;) bind Mod3+Shift+44 wcmh diff --git a/man/i3.man b/man/i3.man index 39260560..fdb36486 100644 --- a/man/i3.man +++ b/man/i3.man @@ -74,7 +74,8 @@ two virtual screens. Here is a short overview of the default keybindings: j/k/l/;:: -Direction keys (left, down, up, right). They are on your homerow (see the mark on your "j" key). +Direction keys (left, down, up, right). They are on your homerow (see the mark +on your "j" key). Alternatively, you can use the cursor keys. Mod1+:: Focus window in . -- 2.39.5