diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 598e94f..df87cc3 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -1,9 +1,14 @@ # https://github.com/tmux/tmux/wiki/FAQ -# Change prefix key -set -g prefix C-a -unbind C-b -bind C-a send-prefix +# Split panes using | and - +bind | split-window -h +bind - split-window -v + +# Switch panes using Alt without prefix +bind -n M-Left select-pane -L +bind -n M-Right select-pane -R +bind -n M-Up select-pane -U +bind -n M-Down select-pane -D # Color set -g default-terminal "tmux-256color"