# Number windows and panes starting at 1 so that we can jump to them easier. set -g base-index 1 set -g pane-base-index 1 # Makes pressing ESC in VIM happen without delay (https://github.com/neovim/neovim/wiki/FAQ#esc-in-tmux-or-gnu-screen-is-delayed) set -g escape-time 10 # Enable mouse mode set-option -g mouse on # Set the prefix to Ctrl+F set-option -g prefix C-t # Allow certain keybindings to be repeated. For example resizing with arrow keys is continous when key is held. set-option -g repeat-time 500 # Enable the status line set-option -g status on # Settings related to to the window titles. # Disable automatic renaming of windows set-window-option -g automatic-rename off set-window-option -g allow-rename off # Only display the window title if it was set manually and isn't login #set-window-option -g window-status-format " #I #{?#{!=:#W,"login"},#W ,}" set-window-option -g window-status-format " #I " # If the current window is the only one, don't display anything. Otherwise display the Number. set-window-option -g window-status-current-format "#{?#{!=:#{session_windows},1}, #I ,}" # Color of the command mode # Set the color of the borders # Set TERM to something sensible set -g default-terminal "xterm-256color" # ¯\_(ツ)_/¯ set-option -ga terminal-overrides ",xterm*:Tc" # Open split window with current path #bind c new-window -c "#{pane_current_path}" bind '"' split-window -vc "#{pane_current_path}" bind % split-window -hc "#{pane_current_path}" bind C-t send-prefix