From 3869933134376916f0b7152144d5dd8882576b34 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 6 Jun 2020 15:53:06 +0200 Subject: [PATCH] Add vim window focus keybindings on sway --- mpv/.config/mpv/mpv.conf | 2 +- sway/.config/sway/config | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf index ce4e14f..c45a419 100644 --- a/mpv/.config/mpv/mpv.conf +++ b/mpv/.config/mpv/mpv.conf @@ -13,4 +13,4 @@ ytdl-format=bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best ## Wayland gpu-context=wayland ## Default window size -geometry=50%x50% +geometry=70%x70% diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 05fbde6..3b288fc 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -108,6 +108,11 @@ bindsym $mod+Down focus down bindsym $mod+Up focus up 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 #bindsym $mod+Shift+$left move left #bindsym $mod+Shift+$down move down