Created
June 8, 2021 08:56
-
-
Save mhimuro/a2d2f756d43ce760b3a772e208a5c8d2 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
# prefixキーをC-tに変更する | |
set -g prefix C-t | |
# C-bのキーバインドを解除する | |
unbind C-b | |
# キーストロークのディレイを減らす | |
set -sg escape-time 1 | |
# ウィンドウのインデックスを1から始める | |
set -g base-index 1 | |
# ペインのインデックスを1から始める | |
set -g pane-base-index 1 | |
# 設定ファイルをリロードする | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# new windowの際、pwdの継承 | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" -v | |
bind % split-window -c "#{pane_current_path}" -h | |
# ペイン案内の表示時間延長 | |
# set display-panes-time 20000 | |
# 256色端末を使用する | |
######set -g default-terminal "screen-256color" | |
# ステータスバーの色を設定する | |
##set -g status-fg white | |
##set -g status-bg black | |
# アクティブなペインを目立たせる | |
##set -g pane-active-border-fg white | |
##set -g pane-active-border-bg yellow | |
# ペインボーダーの色を設定する | |
##set -g pane-border-fg green | |
##set -g pane-border-bg black | |
# ウィンドウリストの色を設定する | |
##setw -g window-status-fg cyan | |
##setw -g window-status-bg default | |
##setw -g window-status-attr dim | |
set-option -g history-limit 40960 | |
set-option -g default-command "reattach-to-user-namespace -l /bin/zsh" | |
bind C-w run "tmux save-buffer - | reattach-to-user-namespace pbcopy" \; display "Copied!" | |
#Aggressive Resize | |
setw -g aggressive-resize on | |
# マウス操作を有効にする | |
set-option -g mouse off | |
# C-q | |
#set display-panes-time 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment