4 ms·
One day I took the time to work this out for my .screenrc, and it's served me well since: # Set up my status line at the bottom of every frame caption alwa
by silentbicycle 18y ago
One day I took the time to work this out for my .screenrc, and it's served me well since:
# Set up my status line at the bottom of every frame
caption always "%{gb} %{ck}%m-%d %C %{gb} %{gb}%?%-Lw%?%{ck}%n*%f %t%?(%u)%?%{gb}%?%+Lw%?"
All of the %{gb} things are color codes. It looks like this: http://shenani.gen.nz/~scott/screen-statusbar.png http://shenani.gen.nz/~scott/screen-statusbar.png
Binding ! @ # etc. to select 10, 11, 12, ... is handy, too.
- mblakele 18y agoThat's good. Here's what I'm using: hardstatus alwayslastline hardstatus string "%n: %H (%h) %t" For bindings, I find '10 '11 etc to be efficient enough. But I also make heavy use of :number to reorder my windows so that I know which one is which. There's also shift-A, to give them meaningful labels in the ctrl-A " list.
- joeyo 18y agoThere are more .screenrcs (including my own) in this thread: http://news.ycombinator.com/item?id=425890 http://news.ycombinator.com/item?id=425890