~debajit/dotfiles

6d1d5f76c759a181527c7505c2ec4baca8121914 — Debajit Adhikary a month ago b31e46a
Fix tmux configuration for EC2
1 files changed, 18 insertions(+), 25 deletions(-)

M .tmux.conf
M .tmux.conf => .tmux.conf +18 -25
@@ 29,13 29,6 @@ bind -n F11 swap-window -t -1
# F12 - Move window right
bind -n F12 swap-window -t +1

# FIXME
# (Meta + Left) - Jump to window on left
# bind-key -n M-Left select-window -t -1

# FIXME
# (Meta + right) - Jump to window on right
# bind-key -n M-Right select-window -t +1

#--------------------------------
# Pane management shortcuts


@@ 64,7 57,7 @@ bind C-r source-file ~/.tmux.conf \; display-message "Configuration reloaded"
set -g mouse on

# Use zsh
set-option -g default-shell /usr/local/bin/zsh
#set-option -g default-shell /usr/local/bin/zsh

# Use 256 colors
set -g default-terminal "screen-256color"


@@ 74,7 67,7 @@ set -g base-index 1
setw -g pane-base-index 1

# Start copy mode when scrolling up
bind -n WheelUpPane copy-mode
#bind -n WheelUpPane copy-mode

#-------------------------------
# Colors


@@ 87,40 80,40 @@ bind -n WheelUpPane copy-mode
set-option -g status-bg colour235 #base02
#set-option -g status-fg colour136 #yellow
set-option -g status-fg colour98 # purple
set-option -g status-attr default
# set-option -g status-attr default

# default window title colors
set-window-option -g window-status-fg colour244 #base0
set-window-option -g window-status-bg default
set-window-option -g window-status-attr dim
#set-window-option -g window-status-fg colour244 #base0
#set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim

# active window title colors

#set-window-option -g window-status-current-fg colour166 #orange
set-window-option -g window-status-current-fg colour0 #black
#set-window-option -g window-status-current-fg colour0 #black
#set-window-option -g window-status-current-fg colour15 #white
#set-window-option -g window-status-current-fg colour204 #orange

#set-window-option -g window-status-current-bg colour204 # hot pink
#set-window-option -g window-status-current-bg colour132 # dullpink
set-window-option -g window-status-current-bg colour96 # dullpink
#set-window-option -g window-status-current-bg colour96 # dullpink
#set-window-option -g window-status-current-bg colour89 # purple
#set-window-option -g window-status-current-bg colour138 # fawn

# window activity title colors
setw -g window-status-activity-fg colour61
setw -g window-status-activity-attr default
setw -g window-status-bell-fg colour61
setw -g window-status-bell-attr default
#setw -g window-status-activity-fg colour61
#setw -g window-status-activity-attr default
# setw -g window-status-bell-fg colour61
# setw -g window-status-bell-attr default

# pane border
#set-option -g pane-border-fg colour235 #base02
#set-option -g pane-active-border-fg colour240 #base01

# message text
set-option -g message-bg colour235 #base02
#set-option -g message-bg colour235 #base02
#set-option -g message-fg colour166 #orange
set-option -g message-fg colour98 # violet
#set-option -g message-fg colour98 # violet

# pane number display
set-option -g display-panes-active-colour colour166 #blue


@@ 167,9 160,9 @@ set -g status-right '#[fg=colour0]#[bg=colour238] %a, %d %b %Y %H:%M%P '
#-------------------------------

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
#set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'
#set -g @plugin 'tmux-plugins/tmux-resurrect'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
#run -b '~/.tmux/plugins/tpm/tpm'