.screenrc

Written by admin on November 14, 2011 Categories: screen/tmux Tags: , ,
termcapinfo xterm|xterms|xs|rxvt ti@:te@  # use Shit-Up/DownArrow to scroll
#multiuser off
startup_message off
defscrollback 65535

# Satus
hardstatus alwayslastline "%{= RW} %-Lw%{= WR}%n+%f %t%{-}%+Lw %=[${USER}@%H] [%d/%m/%y %0c]"

# Bind arrow keys
# to know signals, try cat > /dev/null and press keys
bindkey ^[[D prev       # Ctl-left, prev window
bindkey ^[[C next       # Ctl-right, next window
bindkey ^T screen       # Ctl-t, new window
bindkey ^W kill         # Ctl-w, kill window
bindkey -k k2 title     # F2, rename

Cela permet d’utiliser les fenêtres de screen comme des onglets et de naviguer entre elles simplement. Ca fonctionne évidemment avec n’importe quel terminal, notamment urxvt.

No Comments on .screenrc

Leave a Reply

Your email address will not be published. Required fields are marked *