mirror of
https://github.com/rwxrob/dot
synced 2024-11-14 18:12:56 +00:00
82 lines
2.1 KiB
Plaintext
82 lines
2.1 KiB
Plaintext
# Configured by Rob Muhlestein (twitch.tv/rwxrob)
|
|
# This file is copyright free (public domain).
|
|
|
|
# fix accidently typing accent characters, etc.
|
|
# by forcing the terminal to not wait around
|
|
# (every single tmux file should have this)
|
|
set -sg escape-time 0
|
|
|
|
set -g status-position bottom
|
|
set -g status-interval 1
|
|
#set -g status-style "bg=deafult"
|
|
set -g status-bg default
|
|
set -g status-justify centre
|
|
|
|
set -g status-right "#(pomo) "
|
|
#set -g status-right-style "fg=#928374,bold"
|
|
set -g status-right-style "fg=#665c54,bold"
|
|
set -g status-left-length 100
|
|
set -g status-left "#(marquee)"
|
|
set -g status-left-style "fg=#665c54"
|
|
set -g message-style "fg=brightwhite"
|
|
set -g window-status-format ""
|
|
set -g window-status-current-format ""
|
|
|
|
# pane colors and display
|
|
#set -g default-terminal "xterm-256color" # very wrong indeed
|
|
set -ga terminal-overrides ",xterm-256color*:Tc" # very wrong indeed
|
|
#set -g default-terminal "screen-256color"
|
|
|
|
# create more intuitive split key combos (same as modern screen)
|
|
unbind |
|
|
bind | split-window -h
|
|
bind '\' split-window -h
|
|
bind 'C-\' split-window -h
|
|
unbind -
|
|
bind - split-window -v
|
|
unbind _
|
|
bind _ split-window -v
|
|
|
|
# vi for copy mode
|
|
setw -g mode-keys vi
|
|
|
|
# vi for command status
|
|
set -g status-keys vi
|
|
|
|
# vi keys to resize
|
|
bind -r C-k resize-pane -U 2
|
|
bind -r C-j resize-pane -D 1
|
|
bind -r C-h resize-pane -L 1
|
|
bind -r C-l resize-pane -R 1
|
|
|
|
# vi keys to navigate panes
|
|
bind -r k select-pane -U
|
|
bind -r j select-pane -D
|
|
bind -r h select-pane -L
|
|
bind -r l select-pane -R
|
|
|
|
# avoid cursor movement messing with resize
|
|
set -g repeat-time 200
|
|
|
|
# colors, clock, and stuff
|
|
#set -g clock-mode-style 12
|
|
setw -g clock-mode-colour cyan
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
# die, die, die (just be careful, right next to C-c)
|
|
bind -r C-x confirm kill-server
|
|
bind -r x kill-pane
|
|
|
|
# color the pane borders nearly invisible
|
|
# (when not using hacked tmux without them)
|
|
set -g pane-border-style "fg=#1a1a1a,bg=#1a1a1a"
|
|
set -g pane-active-border-style "fg=#1a1a1a,bg=#1a1a1a"
|
|
|
|
# color of the window selection background
|
|
#set -g mode-style "bg=black,reverse"
|
|
|
|
# reload configuration
|
|
bind -r r source-file ~/.tmux-live.conf
|
|
|