############ ###### # Tmux Configuration for niblock ### ############ #tmux display things in 256 colors set -g default-terminal "screen-256color" set -g status-utf8 on #start window numbers at 1 to match keyboard order with tmux window order set -g base-index 1 set-window-option -g pane-base-index 1 #renumber windows sequentially after closing any of them set -g renumber-windows on ###### # Keybinds ### #act like vim setw -g mode-keys vi #pane movement bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R #window movement bind-key -r C-h select-window -t :- bind-key -r C-l select-window -t :+ #pane resizing bind -r H resize-pane -L 10 bind -r J resize-pane -D 10 bind -r K resize-pane -U 10 bind -r L resize-pane -R 10 #split window and fix path for tmux 1.9 bind | split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" # reload config file bind r source-file ~/.tmux.conf \; display "Config Reloaded!"