dotfiles/tmux/.tmux/bindings.conf
2024-03-23 01:03:52 +01:00

17 lines
379 B
Text

set -g mouse on
# Open new windows with the same directory
unbind c
bind c new-window -c "#{pane_current_path}"
# Binds
unbind '"'
unbind %
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v "#{pane_current_path}"
# Alt-arrow switching
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