Skip to content

Instantly share code, notes, and snippets.

@ak-ymst
Last active November 29, 2022 03:19
Show Gist options
  • Save ak-ymst/a74c2c49544e365c32e8689d81830d57 to your computer and use it in GitHub Desktop.
Save ak-ymst/a74c2c49544e365c32e8689d81830d57 to your computer and use it in GitHub Desktop.
# prefix
set -g prefix C-z
bind C-z send-prefix
unbind C-b
# config reload
bind r source-file ~/.tmux.conf \; display "reloaded"
# japanese
# setw -g utf8 on
# set -g status-utf8 on
# set-window-option -g utf8 on
#window
set-window-option -g mode-style fg=black,bg=white
set-window-option -g window-status-style fg=black,bg=white
set-window-option -g window-status-current-style bg=red
# pane
set -g pane-active-border-style fg=cyan,bg=black
setw -g window-status-current-style fg=white,fg=red
# color
set-option -g default-terminal xterm-256color
# pane and window
unbind 1
bind 1 break-pane
bind \\ split-pane -h
bind - split-pane -v
bind k kill-pane
bind i display-panes
bind C-k kill-window
bind c new-window
# サイズ変更
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# マウス操作
set-option -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment