Set vim keys for resize mode

This commit is contained in:
dbroqua 2020-07-16 18:45:40 +02:00
parent 28e0f8e8bb
commit 3faf96046c

View file

@ -105,22 +105,10 @@ bindsym $mod+Shift+e exec "i3-nagbar -t error -m 'Q' \
# #
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
# Pressing left will shrink the windows width. bindsym k resize shrink height 10 px or 10 ppt
# Pressing right will grow the windows width. bindsym l resize grow width 10 px or 10 ppt
# Pressing up will shrink the windows height.
# Pressing down will grow the windows 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
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"