Best screenrc

A mashup of nice options that I’ve accumulated over time. The status line is rather long but selecting it and copy ‘n’ paste should work.

# Ctrl-right square bracket doesn't seem to clash with anything:
escape ^]]

# Nice status at the bottom of the screen, permanently shown:
hardstatus alwayslastline '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'

# Use Ctrl-left arrow and Ctrl-right arrow to cycle through windows.
bindkey ^[[1;5D prev
bindkey ^[[1;5C next

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s