set -g default-terminal "xterm-256color" set-option -sa terminal-features ',xterm-256color:RGB' set-option -ga terminal-features ",xterm-256color:usstyle" # set our prefix button to Ctrl + Space unbind C-b set -g prefix C-Space # use vi motions for copy mode set-window-option -g mode-keys vi # make a pane with prefix + Enter unbind v unbind h unbind % unbind '"' # Vim keybindings for pane and window navigation navigation # pane nav 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 bind -n M-h resize-pane -L bind -n M-j resize-pane -D bind -n M-k resize-pane -U bind -n M-l resize-pane -R bind w kill-pane bind v split-window -h -c "#{pane_current_path}" bind h split-window -v -c "#{pane_current_path}" # window bind Enter neww # Set window starting set -g base-index 1 # Plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' run '~/.tmux/plugins/tpm/tpm'