mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-12 03:35:02 -04:00
Add tmux configuration file
This commit is contained in:
parent
c9e0ddef88
commit
20e1ac89cf
1 changed files with 60 additions and 0 deletions
60
configs/tmux.conf
Normal file
60
configs/tmux.conf
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
# from @ivanlei
|
||||||
|
|
||||||
|
# Change prefix key to Ctrl+p
|
||||||
|
# unbind C-b
|
||||||
|
# set -g prefix C-p
|
||||||
|
|
||||||
|
# More straight forward key bindings for splitting
|
||||||
|
unbind %
|
||||||
|
bind | split-window -h
|
||||||
|
unbind '"'
|
||||||
|
bind - split-window -v
|
||||||
|
|
||||||
|
# History
|
||||||
|
set -g history-limit 10000
|
||||||
|
|
||||||
|
# Terminal emulator window title
|
||||||
|
set -g set-titles on
|
||||||
|
set -g set-titles-string '[#S:#I.#H] #W'
|
||||||
|
|
||||||
|
# Status Bar
|
||||||
|
set-option -g status-bg white
|
||||||
|
set-option -g status-fg black
|
||||||
|
|
||||||
|
# Notifying if other windows has activities
|
||||||
|
setw -g monitor-activity off
|
||||||
|
set -g visual-activity on
|
||||||
|
|
||||||
|
|
||||||
|
# Clock
|
||||||
|
#setw -g clock-mode-colour green
|
||||||
|
#setw -g clock-mode-style 24
|
||||||
|
|
||||||
|
# Mouse Support
|
||||||
|
set -g mode-mouse on
|
||||||
|
set -g mouse-resize-pane on
|
||||||
|
set -g mouse-select-pane on
|
||||||
|
set -g mouse-select-window on
|
||||||
|
|
||||||
|
# Add SSH_TTY to the list of environment variables tmux knows about:
|
||||||
|
set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY SSH_TTY"
|
||||||
|
|
||||||
|
# Assume terminals want 256 colors
|
||||||
|
set-option -g default-terminal screen-256color
|
||||||
|
|
||||||
|
# Colors
|
||||||
|
# Status bar has a dim gray background
|
||||||
|
set-option -g status-bg colour234
|
||||||
|
set-option -g status-fg colour74
|
||||||
|
# Left shows the session name, in blue
|
||||||
|
set-option -g status-left-bg default
|
||||||
|
set-option -g status-left-fg colour74
|
||||||
|
# Right is some CPU stats, so terminal green
|
||||||
|
set-option -g status-right-bg default
|
||||||
|
set-option -g status-right-fg colour71
|
||||||
|
# Highlighting the active window in status bar
|
||||||
|
setw -g window-status-current-bg colour234
|
||||||
|
setw -g window-status-current-fg colour71
|
||||||
|
|
||||||
|
new-session
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue