# 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-key "\|" split-window -h
bind-key "\\" split-window -h
bind-key "-" 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
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-right '%a %b %d, %H:%M'
# Highlight active window
#set-window-option -g window-status-current-bg blue
set-window-option -g window-status-current-style bg=green
set -g default-terminal "screen-256color"
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
'팁' 카테고리의 다른 글
No package 'xkbfile' found when build vscode on Ubuntu (0) | 2022.05.19 |
---|---|
무료 gcp 사용 및 ssh 키 등록 에러 해결 (0) | 2022.04.05 |
SpaceVim 괄호 후 엔터칠 때 자동 줄바꿈 및 탭 (0) | 2020.06.04 |
leetcode cli cookie login (0) | 2020.04.19 |
환경세팅(Powerlevel10k, zsh-autosuggestions, zsh-syntax-highlighting, autojump) (0) | 2020.02.17 |