Add vim window focus keybindings on sway

This commit is contained in:
coolneng 2020-06-06 15:53:06 +02:00
parent 37a6767e50
commit 3869933134
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 6 additions and 1 deletions

View File

@ -13,4 +13,4 @@ ytdl-format=bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best
## Wayland ## Wayland
gpu-context=wayland gpu-context=wayland
## Default window size ## Default window size
geometry=50%x50% geometry=70%x70%

View File

@ -108,6 +108,11 @@ bindsym $mod+Down focus down
bindsym $mod+Up focus up bindsym $mod+Up focus up
bindsym $mod+Right focus right bindsym $mod+Right focus right
# Vim shortcuts for movement
bindsym $mod+H focus left
bindsym $mod+J focus down
bindsym $mod+K focus up
bindsym $mod+L focus right
# Move the focused window with the same, but add Shift # Move the focused window with the same, but add Shift
#bindsym $mod+Shift+$left move left #bindsym $mod+Shift+$left move left
#bindsym $mod+Shift+$down move down #bindsym $mod+Shift+$down move down