Updated vim mode

This commit is contained in:
dbroqua 2020-07-12 16:48:51 +02:00
parent f79e201fde
commit 28e0f8e8bb

View file

@ -15,30 +15,14 @@ bindsym $mod+h focus left
bindsym $mod+j focus down bindsym $mod+j focus down
bindsym $mod+k focus up bindsym $mod+k focus up
bindsym $mod+l focus right bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
#bindsym $mod+Left focus left
#bindsym $mod+Down focus down
#bindsym $mod+Up focus up
#bindsym $mod+Right focus right
#bindsym Mod1+Tab focus left
# move focused window # move focused window
bindsym $mod+Shift+j move left bindsym $mod+Shift+h move left
bindsym $mod+Shift+k move down bindsym $mod+Shift+j move down
bindsym $mod+Shift+l move up bindsym $mod+Shift+k move up
bindsym $mod+Shift+semicolon move right bindsym $mod+Shift+l move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation # split in horizontal orientation
bindsym $mod+backslash split h bindsym $mod+backslash split h
# split in vertical orientation # split in vertical orientation
bindsym $mod+minus split v bindsym $mod+minus split v
@ -70,6 +54,9 @@ set $wksp4 "4: Spotify"
set $wksp5 "5: Graphics" set $wksp5 "5: Graphics"
set $wksp6 "6: Minecraft" set $wksp6 "6: Minecraft"
set $wksp7 "7: Remote" set $wksp7 "7: Remote"
set $wksp8 "8"
set $wksp9 "9"
set $wksp10 "10"
# switch to workspace # switch to workspace
bindsym $mod+1 workspace $wksp1 bindsym $mod+1 workspace $wksp1
@ -79,9 +66,9 @@ bindsym $mod+4 workspace $wksp4
bindsym $mod+5 workspace $wksp5 bindsym $mod+5 workspace $wksp5
bindsym $mod+6 workspace $wksp6 bindsym $mod+6 workspace $wksp6
bindsym $mod+7 workspace $wksp7 bindsym $mod+7 workspace $wksp7
bindsym $mod+8 workspace 8 bindsym $mod+8 workspace $wksp8
bindsym $mod+9 workspace 9 bindsym $mod+9 workspace $wksp9
bindsym $mod+0 workspace 10 bindsym $mod+0 workspace $wksp10
# switch to previous/next workspace # switch to previous/next workspace
bindsym Mod1+Control+a workspace prev_on_output bindsym Mod1+Control+a workspace prev_on_output
bindsym Mod1+Control+d workspace next_on_output bindsym Mod1+Control+d workspace next_on_output
@ -94,9 +81,9 @@ bindsym $mod+Shift+4 move container to workspace $wksp4
bindsym $mod+Shift+5 move container to workspace $wksp5 bindsym $mod+Shift+5 move container to workspace $wksp5
bindsym $mod+Shift+6 move container to workspace $wksp6 bindsym $mod+Shift+6 move container to workspace $wksp6
bindsym $mod+Shift+7 move container to workspace $wksp7 bindsym $mod+Shift+7 move container to workspace $wksp7
bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+8 move container to workspace $wksp8
bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+9 move container to workspace $wksp9
bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+0 move container to workspace $wksp10
# move focused container to previous/next workspace # move focused container to previous/next workspace
bindsym Mod1+Shift+Control+a move container to workspace prev bindsym Mod1+Shift+Control+a move container to workspace prev
bindsym Mod1+Shift+Control+d move container to workspace next bindsym Mod1+Shift+Control+d move container to workspace next