# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix

# split panes using | and -
bind | split-window -h
bind \ split-window -h
bind - split-window -v
unbind '"'
unbind %

# Resize the current pane using Alt + direction
bind -n M-k resize-pane -U 5
bind -n M-j resize-pane -D 5
bind -n M-h resize-pane -L 5
bind -n M-l resize-pane -R 5

# pane switching
bind -n C-k select-pane -U 
bind -n C-j select-pane -D 
bind -n C-h select-pane -L 
bind -n C-l select-pane -R

bind C-a next-window

'' 카테고리의 다른 글

git am, git apply, patch 실패할 때: easy to show conflict marker  (0) 2019.12.22
tmux 환경 자동저장/불러오기  (0) 2019.10.01
spacevim 에서 에러 팝업 안 나오게 하기  (0) 2019.09.25
.zshrc 백업  (0) 2019.04.08
.tmux.conf 백업  (0) 2019.04.08

+ Recent posts