Last active
April 6, 2021 19:55
-
-
Save derekmceachern/1d976a733bc550a3f59ce6de66634168 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change the prefix key to C-a | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
# Turn the mouse on | |
#set -g mouse on | |
# To copy, drag to highlight text in yellow, press Enter and then release mouse | |
# Use vim keybindings in copy mode | |
setw -g mode-keys vi | |
# Reload tmux config | |
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced' | |
# Start window and pane numbering at 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# Renumber windows when one is closed | |
set -g renumber-windows on | |
setw -g monitor-activity on | |
set-option -g status-left "[#S] " | |
set-option -g status-left-length 20 | |
set-option -g status-left-style default | |
set-option -g status-position bottom | |
#set-option -g status-right "#{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,} <#H> \"#{=21:pane_title}\" %H:%M %Y-%m-%d" | |
set-option -g status-right "#{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,} <#H> %H:%M %Y-%m-%d" | |
set-option -g status-right-length 50 | |
set-option -g status-right-style default | |
set-option -g status-style fg=black,bg=green | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment