Files
Server.Config-Deploy-Data/home-rc/dot-files/.screenrc
2024-10-08 17:58:44 +09:00

43 lines
1.5 KiB
Plaintext

# enable scrollback, does not work in konsole
defscrollback 50000
# hardstatus line at the bottom
hardstatus alwayslastline "%{.kw}[%{..g}%H%{..w}] [%{..M}%S%{..w}:%{..m}%n %{..M}%t%{..w}] [%{..W}%h%{..w}]%= %{..w}[%{..r}%l%{..w}][%{..y}%D, %y/%m/%d %{..Y}%c:%s%{..w}]"
# hardstatus if we have a split layout
caption splitonly "%{rw}%n%f %t %{wk} | %>%{wk}%?%-Lw%?[%{..M}%n*%f %t%{.kw}]%?(%u)%?%{wk}%?%+Lw%?%<"
# "~" stands for the "bell" character
# use %n to display the window number and %t for its title:
activity "activity in %f%n (%t) [%c:%s]~"
# pass on the "beep" (CTRL-G) by adding a '~':
bell "bell in %f%n (%t) [%c:%s]~"
# vbell_msg: Message shown when the
# "virtual bell" rings.
vbell_msg " *beep* "
# to be able to select screens n > 9 ->
# press "C-a - #" instead of just "C-a #"
bind - command -c select_1n
bind -c select_1n 0 select 10
bind -c select_1n 1 select 11
bind -c select_1n 2 select 12
bind -c select_1n 3 select 13
bind -c select_1n 4 select 14
bind -c select_1n 5 select 15
bind -c select_1n 6 select 16
bind -c select_1n 7 select 17
bind -c select_1n 8 select 18
bind -c select_1n 9 select 19
bind -c select_1n - command -c select_2n
bind -c select_2n 0 select 20
bind -c select_2n 1 select 21
bind -c select_2n 2 select 22
bind -c select_2n 3 select 23
bind -c select_2n 4 select 24
bind -c select_2n 5 select 25
bind -c select_2n 6 select 26
bind -c select_2n 7 select 27
bind -c select_2n 8 select 28
bind -c select_2n 9 select 29
bind -c select_2n - select -