Last active
April 10, 2020 08:01
-
-
Save suin/6154938 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------- # | |
# ウィンドウの振る舞い # | |
# ----------------- # | |
# ウィンドウ番号1から開始する | |
set-option -g base-index 1 | |
# マウスでスクロールできるようにする | |
set-window-option -g mode-mouse on | |
# これを有効にすると、MacでCommand+Cなどができなくなるが、 | |
# Optionを押しながら範囲選択すると、コピーできる。 | |
# ------------------- # | |
# ステータスバーの見た目 # | |
# ------------------- # | |
# 色コード: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html | |
# 256色サポート | |
set-option -g default-terminal "xterm" | |
# ステータスバーの色 | |
set -g status-fg colour253 | |
set -g status-bg colour237 | |
# 非アクティブなウィンドウの色 | |
set-window-option -g window-status-fg default | |
set-window-option -g window-status-bg default | |
# アクティブなウィンドウの色 | |
set-window-option -g window-status-current-fg colour16 | |
set-window-option -g window-status-current-bg colour178 | |
# ステータスバーの位置 | |
set-option -g status-position bottom | |
# ステータスバー左隅に出すもの | |
set -g status-left '#[fg=colour32, bold]suin' | |
# ステータスバー右隅に出すもの | |
set -g status-right '' | |
# ---------- # | |
# キーバインド # | |
# ---------- # | |
# ウィンドウ強制終了 | |
bind k kill-window |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
itermの設定 | |
term 起動時に tmux 立ち上げる: | |
Preference > Profile > General | |
に行って | |
Command | |
の | |
Send text as start: | |
に | |
tmux attach -t base || tmux new -s base |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment