diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..44d8fc1 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,16 @@ +setw -g mode-keys vi + +bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." + +# use vim-like keys for splits and windows +bind-key v split-window -h -c "#{pane_current_path}" +bind-key s split-window -v -c "#{pane_current_path}" +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R +bind-key t swap-window -t +1 +bind-key T swap-window -t -1 + +set-option -sg escape-time 0 +set -s escape-time 0