Explorar o código

screen: resize mappings

Fabian Peter Hammerle %!s(int64=9) %!d(string=hai) anos
pai
achega
0ec1c28494
Modificáronse 1 ficheiros con 7 adicións e 3 borrados
  1. 7 3
      screenrc

+ 7 - 3
screenrc

@@ -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