|
@@ -28,11 +28,15 @@ bindkey "^[[1;5C" focus right
|
|
|
bindkey "^[[1;5A" focus up
|
|
|
bindkey "^[[1;5B" focus down
|
|
|
|
|
|
-# use hjkl keys to resize regions
|
|
|
+# region resize
|
|
|
bind -c resize h eval "resize -h -5" "command -c resize"
|
|
|
-bind -c resize j eval "resize -v -3" "command -c resize"
|
|
|
-bind -c resize k eval "resize -v +3" "command -c resize"
|
|
|
+bind -c resize j eval "resize -v +3" "command -c resize"
|
|
|
+bind -c resize k eval "resize -v -3" "command -c resize"
|
|
|
bind -c resize l eval "resize -h +5" "command -c resize"
|
|
|
+bind -c resize -k kl eval "resize -h -5" "command -c resize"
|
|
|
+bind -c resize -k kd eval "resize -v +3" "command -c resize"
|
|
|
+bind -c resize -k ku eval "resize -v -3" "command -c resize"
|
|
|
+bind -c resize -k kr eval "resize -h +5" "command -c resize"
|
|
|
bind R command -c resize
|
|
|
|
|
|
# https://gist.github.com/joaopizani/2718397
|