add some stuff from RC machine config

This commit is contained in:
Mia Steinkirch 2019-06-21 16:07:46 -07:00
parent 7095235fe8
commit 54e3254e41
44 changed files with 23 additions and 8 deletions

63
tmux/tmux.conf Normal file
View file

@ -0,0 +1,63 @@
# 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
# make scrolling with wheels work
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
# Mouse Support
setw -g mouse
# 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
set -g status-right "Impossible is a State of Mind"
# Highlighting the active window in status bar
setw -g window-status-current-bg colour234
setw -g window-status-current-fg colour71
# zsh
set-option -g default-shell ${SHELL}
set-option -g default-shell /bin/zsh
new-session