1
0
Fork 0

made i3 keybindings more vim-like

This commit is contained in:
Massaki Archambault 2018-05-21 06:52:59 -04:00
parent c4b3847ade
commit 9b352d4c8d
1 changed files with 17 additions and 17 deletions

View File

@ -52,7 +52,7 @@ for_window [class="^.*"] border pixel 1 title_format " %title"
for_window [floating] border pixel 2 for_window [floating] border pixel 2
smart_borders on smart_borders on
# Gaps # GapS
gaps inner 16 gaps inner 16
gaps outer -8 gaps outer -8
smart_gaps on smart_gaps on
@ -93,10 +93,10 @@ bindsym $mod+Control+Return exec /bin/bash ~/.config/i3/rofi.bash
bindsym $mod+Shift+Return exec rofi-pass bindsym $mod+Shift+Return exec rofi-pass
# change focus # change focus
bindsym $mod+j focus left bindsym $mod+h focus left
bindsym $mod+k focus down bindsym $mod+j focus down
bindsym $mod+l focus up bindsym $mod+k focus up
bindsym $mod+semicolon focus right bindsym $mod+l focus right
# disable focus follow mouse # disable focus follow mouse
focus_follows_mouse no focus_follows_mouse no
@ -108,10 +108,10 @@ focus_follows_mouse no
#bindsym $mod+Right focus right #bindsym $mod+Right focus right
# 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: # alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
@ -215,16 +215,16 @@ mode "resize" {
# Pressing right will grow the windows width. # Pressing right will grow the windows width.
# Pressing up will shrink the windows height. # Pressing up will shrink the windows height.
# Pressing down will grow the windows height. # Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt bindsym h resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt bindsym j resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt bindsym k resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt bindsym l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt #bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt #bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt #bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt #bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"