Skip to content

Instantly share code, notes, and snippets.

@Kyungpyo-Kim
Last active February 28, 2023 04:33
Show Gist options
  • Save Kyungpyo-Kim/8b6b0a9d0582885429a2caaa66643a80 to your computer and use it in GitHub Desktop.
Save Kyungpyo-Kim/8b6b0a9d0582885429a2caaa66643a80 to your computer and use it in GitHub Desktop.
# enable mouse
set -g mouse on
# change prefix to ctrl + a
set-option -g prefix C-a
# color scheme
set -g default-terminal "xterm"
set -g default-terminal "xterm-256color"
# switch panes using Alt-arrow 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
# 명령어 정리
# ---
# pane 가로 나누기 : ctrl + space, -
# pane 세로 나누기 : ctrl + space, |
# pane 간 이동하기 : alt + 방향키
# pane 삭제하기 : ctrl+d
# pane 크기 조절 : ctrl+a 누른 상태에서 방향키
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment