From 3faf96046cc47c3a90e633a13b6468a4496c590b Mon Sep 17 00:00:00 2001 From: dbroqua Date: Thu, 16 Jul 2020 18:45:40 +0200 Subject: [PATCH] Set vim keys for resize mode --- config/i3/config | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/config/i3/config b/config/i3/config index f8ff419..7a7c172 100644 --- a/config/i3/config +++ b/config/i3/config @@ -105,22 +105,10 @@ bindsym $mod+Shift+e exec "i3-nagbar -t error -m 'Q' \ # mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt # back to normal: Enter or Escape bindsym Return mode "default"