-
-
Save afk11/1d25d3aecfbbf51913bd7cdb8dd5de0f 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
set -g default-terminal 'screen-256color' | |
# set-option -g default-command "reattach-to-user-namespace -l zsh" | |
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy" | |
bind C-v run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer" | |
#set-option -g default-shell /bin/zsh | |
#set-option -g default-command "/bin/zsh -i" | |
# Remap prefix to Control + a | |
set -g prefix C-a | |
# Bind 'C-a C-a' to type 'C-a' | |
bind C-a send-prefix | |
unbind C-b | |
# Move tabs | |
#bind C-Left swap-window -t -1 | |
#bind C-Right swap-window -t +1 | |
bind C-S-Left swap-window -t -1 | |
bind C-S-Right swap-window -t +1 | |
# Start window numbers at 1 to match keyboard order with tmux window order | |
set -g base-index 1 | |
set-window-option -g pane-base-index 1 | |
# Renumber windows sequentially after closing any of them | |
set -g renumber-windows on | |
# Prevent window rename | |
set-option -g allow-rename off | |
# Visual notification of activity in other windows | |
setw -g monitor-activity on | |
set -g visual-activity off | |
# Scrolling | |
# set-option -g mouse-select-pane on | |
# set-option -g mouse-select-window on | |
# set-window-option -g mode-mouse on | |
# Statusbar theme | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left ' #[fg=green] #S ' | |
#set -g status-right '#[fg=yellow]#(uptime | egrep -o "[0-9]+ users?, +load.*"|perl -pe "s| averages?||"), %H:%M' | |
set -g status-right "" | |
set -g status-right-length 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment