From 4c06d7ccd47314d541a55b230b7098bea12a08f8 Mon Sep 17 00:00:00 2001 From: Bas Grolleman Date: Sun, 15 Jun 2025 23:08:48 +0200 Subject: [PATCH] Movement keys to vim keys --- i3/config | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/i3/config b/i3/config index 8cc3bdd..1ed8391 100644 --- a/i3/config +++ b/i3/config @@ -72,10 +72,10 @@ bindcode Mod4+v exec 'rofi -modi "clipboard:greenclip print" -show clipboard -r bindsym $win+l exec "i3lock -i ~/Documents/Resources/Backgrounds/51202139522_fbf4788f42_o.png" # change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left @@ -84,10 +84,10 @@ bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left @@ -96,13 +96,14 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation -bindsym $mod+h split h +bindsym $mod+semicolon split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle +bindsym $mod+y floating enable; resize set 55ppt 95ppt; move position center # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking @@ -173,10 +174,10 @@ mode "resize" { # 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 + 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 # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt @@ -207,7 +208,7 @@ exec --no-startup-id greenclip deamon exec --no-startup-id flatpak run com.core447.StreamController -b exec --no-startup-id picom -bindcode $win+. exec flatpak run it.mijorus.smile +bindsym $win+period exec flatpak run it.mijorus.smile exec --no-startup-id i3-msg "workspace 6; append_layout ~/.config/i3/workspace-6.json"