# Venkat Nagappan - Tmux Config set -g default-terminal "screen-256color" # Set ZSH set -g default-shell /usr/bin/zsh bind -r j resize-pane -D 5 bind -r k resize-pane -U 5 bind -r h resize-pane -L 5 bind -r l resize-pane -R 5 bind -r m resize-pane -Z # switch panes using Alt-arrow without prefix bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D ## Pane Management unbind % #unbind Horizontal Split unbind '"' # unbind Vertical Split bind | split-window -h bind -n IC split-window -h # Split Horizontal with Insert bind END kill-pane # Kill active pane bind - split-window -v bind C-l send-keys 'C-l' # Fix Clear Screen unbind r bind r source-file ~/.tmux.conf; display "Reloaded" set -g mouse on set-window-option -g mode-keys vi bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-selection unbind -T copy-mode-vi MouseDragEnd1Pane # Page up/Down bind -n S-Pageup send-keys S-Pageup bind -n S-Pagedown send-keys S-Pagedown # tpm plugin manager set -g @plugin 'tmux-plugins/tpm' # list of tmux plugins #set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'jimeh/tmux-themepack' #set -g @plugin 'tmux-plugins/tmux-resurrect' #set -g @plugin 'tmux-plugins/tmux-continuum' set -g @themepack 'powerline/default/cyan' set -g @resurrect-capture-pane-contents 'on' set -g @continuum-restore 'off' # initialize tmux plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'