|
@@ -22,12 +22,17 @@ mousetrack on
|
|
|
# layouts
|
|
|
layout autosave on
|
|
|
|
|
|
-# F2 puts Screen into resize mode. Resize regions using hjkl keys.
|
|
|
-bindkey "^[OQ" eval "command -c rsz" # enter resize mode
|
|
|
+# navigating regions with Ctrl-arrows
|
|
|
+bindkey "^[[1;5D" focus left
|
|
|
+bindkey "^[[1;5C" focus right
|
|
|
+bindkey "^[[1;5A" focus up
|
|
|
+bindkey "^[[1;5B" focus down
|
|
|
+
|
|
|
# use hjkl keys to resize regions
|
|
|
-bind -c rsz h eval "resize -h -5" "command -c rsz"
|
|
|
-bind -c rsz j eval "resize -v -3" "command -c rsz"
|
|
|
-bind -c rsz k eval "resize -v +3" "command -c rsz"
|
|
|
-bind -c rsz l eval "resize -h +5" "command -c rsz"
|
|
|
+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 l eval "resize -h +5" "command -c resize"
|
|
|
+bind R command -c resize
|
|
|
|
|
|
# https://gist.github.com/joaopizani/2718397
|