Movement keys to vim keys

This commit is contained in:
2025-06-15 23:08:48 +02:00
parent 02bdf43a40
commit 4c06d7ccd4

View File

@@ -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 windows width.
# 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
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"