diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..83dc029 --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,15 @@ +unbind C-b +set -g prefix C-a +bind-key C-a last-window +set-window-option -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