i3 and .vimrc tweaks
This commit is contained in:
+11
-9
@@ -1,6 +1,7 @@
|
|||||||
# ntnsndr's i3 config file
|
# ntnsndr's i3 config file
|
||||||
#
|
#
|
||||||
# Reference: https://i3wm.org/docs/userguide.html
|
# Reference: https://i3wm.org/docs/userguide.html
|
||||||
|
# Added some COSMIC bindings: https://github.com/pop-os/cosmic-comp/blob/master/data/keybindings.ron
|
||||||
# XFCE hybrid based on https://forum.endeavouros.com/t/tutorial-easy-setup-endeavour-xfce-i3-tiling-window-manager/13171
|
# XFCE hybrid based on https://forum.endeavouros.com/t/tutorial-easy-setup-endeavour-xfce-i3-tiling-window-manager/13171
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
@@ -47,10 +48,10 @@ bindsym $mod+d exec --no-startup-id dmenu_run
|
|||||||
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
@@ -59,10 +60,10 @@ bindsym $mod+Up focus up
|
|||||||
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
|
||||||
@@ -71,7 +72,7 @@ bindsym $mod+Shift+Up move up
|
|||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+h split h
|
bindsym $mod+b split h
|
||||||
|
|
||||||
# split in vertical orientation
|
# split in vertical orientation
|
||||||
bindsym $mod+v split v
|
bindsym $mod+v split v
|
||||||
@@ -86,6 +87,7 @@ bindsym $mod+e layout toggle split
|
|||||||
|
|
||||||
# toggle tiling / floating
|
# toggle tiling / floating
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
bindsym $mod+g floating toggle
|
||||||
|
|
||||||
# change focus between tiling / floating windows
|
# change focus between tiling / floating windows
|
||||||
bindsym $mod+space focus mode_toggle
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ set shell=bash\ -l
|
|||||||
|
|
||||||
" Shortcuts
|
" Shortcuts
|
||||||
command! Proximate :e ~/Cloud/Notes/Proximate.md
|
command! Proximate :e ~/Cloud/Notes/Proximate.md
|
||||||
|
command! W :w|b#|bd#
|
||||||
|
|
||||||
" Create panda command for pandout
|
" Create panda command for pandout
|
||||||
command! -nargs=1 Panda execute ':w' | execute ':!~/.scripts/panda.sh % <args>'
|
command! -nargs=1 Panda execute ':w' | execute ':!~/.scripts/panda.sh % <args>'
|
||||||
|
|||||||
Reference in New Issue
Block a user