Switched to vim navigation keys
This commit is contained in:
parent
3b5e01ad4e
commit
d0585b5483
1 changed files with 18 additions and 18 deletions
36
config/sway
36
config/sway
|
@ -54,10 +54,10 @@ bindsym $winkey+Up focus up
|
||||||
bindsym $winkey+Right focus right
|
bindsym $winkey+Right focus right
|
||||||
|
|
||||||
# Alternative keys
|
# Alternative keys
|
||||||
bindsym $winkey+q focus left
|
bindsym $winkey+h focus left
|
||||||
bindsym $winkey+s focus down
|
bindsym $winkey+j focus down
|
||||||
bindsym $winkey+z focus up
|
bindsym $winkey+k focus up
|
||||||
bindsym $winkey+d focus right
|
bindsym $winkey+l focus right
|
||||||
|
|
||||||
# Move focused window
|
# Move focused window
|
||||||
bindsym $winkey+Shift+Left move left
|
bindsym $winkey+Shift+Left move left
|
||||||
|
@ -66,15 +66,15 @@ bindsym $winkey+Shift+Up move up
|
||||||
bindsym $winkey+Shift+Right move right
|
bindsym $winkey+Shift+Right move right
|
||||||
|
|
||||||
# Alternative keys
|
# Alternative keys
|
||||||
bindsym $winkey+j move left
|
bindsym $winkey+Shift+h move left
|
||||||
bindsym $winkey+k move down
|
bindsym $winkey+Shift+j move down
|
||||||
bindsym $winkey+i move up
|
bindsym $winkey+Shift+k move up
|
||||||
bindsym $winkey+l move right
|
bindsym $winkey+Shift+l move right
|
||||||
|
|
||||||
# Layouts
|
# Layouts
|
||||||
bindsym $winkey+w layout toggle split
|
bindsym $winkey+w layout toggle split
|
||||||
bindsym $winkey+x layout tabbed
|
bindsym $winkey+x layout tabbed
|
||||||
bindsym $winkey+h split h
|
bindsym $winkey+c split h
|
||||||
bindsym $winkey+v split v
|
bindsym $winkey+v split v
|
||||||
|
|
||||||
bindsym $winkey+a focus parent
|
bindsym $winkey+a focus parent
|
||||||
|
@ -89,14 +89,14 @@ bindsym $winkey+Prior scratchpad show
|
||||||
# Resize window menu
|
# Resize window menu
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
bindsym l resize grow width 10 px or 10 ppt
|
bindsym l resize grow width 10 px or 10 ppt
|
||||||
bindsym i resize grow height 10 px or 10 ppt
|
bindsym k resize grow height 10 px or 10 ppt
|
||||||
bindsym j resize shrink width 10 px or 10 ppt
|
bindsym h resize shrink width 10 px or 10 ppt
|
||||||
bindsym k resize shrink height 10 px or 10 ppt
|
bindsym j resize shrink height 10 px or 10 ppt
|
||||||
|
|
||||||
bindsym Shift+l resize grow width 50 px or 50 ppt
|
bindsym Shift+l resize grow width 50 px or 50 ppt
|
||||||
bindsym Shift+i resize grow height 50 px or 50 ppt
|
bindsym Shift+k resize grow height 50 px or 50 ppt
|
||||||
bindsym Shift+j resize shrink width 50 px or 50 ppt
|
bindsym Shift+h resize shrink width 50 px or 50 ppt
|
||||||
bindsym Shift+k resize shrink height 50 px or 50 ppt
|
bindsym Shift+j resize shrink height 50 px or 50 ppt
|
||||||
|
|
||||||
# Alternative keys
|
# Alternative keys
|
||||||
bindsym Up resize grow height 10 px or 10 ppt
|
bindsym Up resize grow height 10 px or 10 ppt
|
||||||
|
@ -110,10 +110,10 @@ mode "resize" {
|
||||||
bindsym Shift+Down resize shrink height 50 px or 50 ppt
|
bindsym Shift+Down resize shrink height 50 px or 50 ppt
|
||||||
|
|
||||||
# Window movement
|
# Window movement
|
||||||
bindsym $winkey+j move left
|
bindsym $winkey+h move left
|
||||||
bindsym $winkey+k move down
|
bindsym $winkey+j move down
|
||||||
bindsym $winkey+l move right
|
bindsym $winkey+l move right
|
||||||
bindsym $winkey+i move up
|
bindsym $winkey+k move up
|
||||||
|
|
||||||
# Alternative keys
|
# Alternative keys
|
||||||
bindsym $winkey+Left move left
|
bindsym $winkey+Left move left
|
||||||
|
|
Loading…
Reference in a new issue