mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
27b1c14118
It might have nicer colours, but I don't know.
30 lines
1021 B
Plaintext
Executable File
30 lines
1021 B
Plaintext
Executable File
# Sets screen shortcuts (Copied from tmux faq)
|
|
set -g prefix C-a
|
|
unbind C-b
|
|
bind C-a send-prefix
|
|
|
|
# Sets status bar colours to black on white (copied from http://goo.gl/2V0Lz )
|
|
set -g status-bg black
|
|
set -g status-fg white
|
|
|
|
# Highlights active window with red background (copied from http://goo.gl/2V0Lz )
|
|
set-window-option -g window-status-current-bg red
|
|
|
|
# Shows current time on statusbar. ( Made better suitable for me from nyuszika7h's .tmux.conf http://nyuszika7h.dyndns.org/~nyuszika7h/.tmux.conf )
|
|
set -g status-right ' #[fg=yellow,bold]%d-%m-%y %H:%M#[fg=black,bold] #[fg=black,bold]'
|
|
|
|
# Sets automatic renaming of windows. (copied from comment by André Laszlo http://goo.gl/2V0Lz )
|
|
setw -g automatic-rename on
|
|
|
|
# Starts window numbering at 1 instead of 0 (in my keyboard, numbers are 1234567890)
|
|
set -g base-index 1
|
|
|
|
# Sets 0 as window 10 (in my keyboard, numbers are 1234567890)
|
|
bind-key 0 select-window -t :10
|
|
|
|
# Enables mouse
|
|
set -g mode-mouse on
|
|
|
|
# Enables colours
|
|
set -g default-terminal "screen-256color"
|