X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.screenrc;h=f9c73196225533c30affe76a5e1f532a814f460c;hb=89fa7965862a808dceaa02a47cc70ab39ddeec2f;hp=db73a6ad1054369b787c10142ac279043e76d91f;hpb=35e45d987994a80c514e19963605ddb4b18f26ac;p=dotfiles.git diff --git a/.screenrc b/.screenrc index db73a6a..f9c7319 100644 --- a/.screenrc +++ b/.screenrc @@ -36,6 +36,24 @@ bind ^\ # on backspace send ^H #bindkey -d -k kb stuff "\010" +# Remap keypad +#Home +bindkey \033Ow stuff \033[1~ +#Up +bindkey \033Ox stuff \033OA +#PgUp +bindkey \033Oy stuff \033[5~ +#Left +bindkey \033Ot stuff \033OD +#Right +bindkey \033Ov stuff \033OC +#End +bindkey \033Oq stuff \033[4~ +#Down +bindkey \033Or stuff \033OB +#PgDn +bindkey \033Os stuff \033[6~ + # ------------------------------------------------------------------------------ # TERMINAL SETTINGS # ------------------------------------------------------------------------------ @@ -84,7 +102,7 @@ termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' # Do not use the alternate screen at all # run `tput smcup; screen -S test; tput rmcup` -#termcapinfo xterm*|rxvt* 'ti=:te=' +termcapinfo xterm*|rxvt* 'ti=:te=' # Enable non-blocking mode to better cope with flaky ssh connections. defnonblock 5