unbind C-b set -g prefix C-Space unbind r bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf" # v and h are not bound by default, but we never know in the next versions... unbind v unbind h unbind % # Split vertically unbind '"' # Split horizontally bind v split-window -h -c "#{pane_current_path}" bind h split-window -v -c "#{pane_current_path}" # change pane navigation to Vim-believer mode bind -n C-h select-pane -L bind -n C-j select-pane -D bind -n C-k select-pane -U bind -n C-l select-pane -R set -g history-limit 100000 unbind n #DEFAULT KEY: Move to next window unbind w #DEFAULT KEY: change current window interactively bind n command-prompt "rename-window '%%'" bind w new-window -c "#{pane_current_path}" # Make window and pane numbers start from 1 instead of 0 set -g base-index 1 set-window-option -g pane-base-index 1 # Move to next/previous window with Alt+k/Alt+j bind -n M-j previous-window bind -n M-k next-window # Fix tmux color issue for vim set -g default-terminal "xterm-256color" set-option -sa terminal-overrides ",xterm*:Tc" # Tmux Plugin Manager # Note: Clone https://github.com/tmux-plugins/tpm to ~/.tmux/plugins/tpm first set -g @plugin 'tmux-plugins/tpm' # Theme set -g @plugin 'egel/tmux-gruvbox' set -g @tmux-gruvbox 'dark' #set -g @plugin 'jimeh/tmux-themepack' #set -g @themepack 'powerline/double/magenta' # Load Tmux Plugin Manager (keep this at the end) run '~/.tmux/plugins/tpm/tpm'