Skip to content

Instantly share code, notes, and snippets.

@yamamo2shun1
Last active October 7, 2021 23:54
Show Gist options
  • Save yamamo2shun1/2dbfda1f1cd68a49020b47627497bc2f to your computer and use it in GitHub Desktop.
Save yamamo2shun1/2dbfda1f1cd68a49020b47627497bc2f to your computer and use it in GitHub Desktop.
tmux_conf_24b_colour=true
# Linuxの場合
set -g default-terminal "tmux-256color"
# macOSの場合
#set -g default-terminal "screen-256color"
set-option -ga terminal-overrides ",$TERM:Tc"
set -g base-index 1
setw -g pane-base-index 1
set -g history-limit 10000
setw -g mouse on
bind-key -n M-Left resize-pane -L 5
bind-key -n M-Right resize-pane -R 5
bind-key -n M-Up resize-pane -U 5
bind-key -n M-Down resize-pane -D 5
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'fcsonline/tmux-thumbs'
run '~/.tmux/plugins/tpm/tpm'
run-shell ~/.tmux/plugins/tmux-thumbs/tmux-thumbs.tmux
@yamamo2shun1
Copy link
Author

macOSの場合、tmux-256colorを使うと文字の描画がおかしくなるため、screen-256colorを使う。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment