Added vim-like moving

This commit is contained in:
Julian Mutter 2021-02-06 21:47:23 +01:00
parent 80211ea764
commit adec927d7e

View File

@ -59,10 +59,10 @@ bindsym $mod+d exec rofi -show run #dmenu_recency -i
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
# bindsym $mod+h focus left
#bindsym $mod+j focus down
#bindsym $mod+k focus up
#bindsym $mod+l 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
@ -71,10 +71,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
#bindsym $mod+Shift+h move left
#bindsym $mod+Shift+j move down
#bindsym $mod+Shift+k move up
#bindsym $mod+Shift+l 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
@ -83,7 +83,7 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
bindsym $mod+Shift+v split h
# split in vertical orientation
bindsym $mod+v split v
@ -173,7 +173,7 @@ workspace $ws9 output $monitor_right
workspace $ws10 output $monitor_right
# reload the configuration file
bindsym $mod+Shift+c reload
#bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
@ -187,10 +187,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 odiaeresis 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
@ -259,7 +259,7 @@ bindsym $mod+Ctrl+Left move workspace to output right
bindsym $mod+c exec rofi_calc
bindsym $mod+p exec xwacomcalibrate
bindsym $mod+t exec thunar
bindsym $mod+j exec jupyter-calculator
bindsym $mod+Shift+c exec jupyter-calculator
workspace_auto_back_and_forth yes
########## Window settings ##########