mirror of
https://github.com/hazemKrimi/dotfiles.git
synced 2026-05-01 18:20:27 +00:00
20 lines
482 B
Bash
20 lines
482 B
Bash
# set default shell
|
|
set-option -g default-shell /bin/zsh
|
|
# remap prefix
|
|
unbind C-b
|
|
set-option -g prefix C-t
|
|
set-option -sg escape-time 10
|
|
bind-key C-t send-prefix
|
|
# remap split panes
|
|
bind v split-window -h -c "#{pane_current_path}"
|
|
bind h split-window -v -c "#{pane_current_path}"
|
|
unbind '"'
|
|
unbind %
|
|
# map reload config
|
|
bind r source-file ~/.tmux.conf
|
|
# remap switch panes
|
|
bind -n M-h select-pane -L
|
|
bind -n M-l select-pane -R
|
|
bind -n M-k select-pane -U
|
|
bind -n M-j select-pane -D
|