Created
February 19, 2020 14:23
-
-
Save masaponto/ce10258878a69c804116fb858924c457 to your computer and use it in GitHub Desktop.
This file contains 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 | |
unbind C-b | |
set-option -g prefix C-x | |
#reload setting | |
bind C-r source-file ~/.tmux.conf \; display "Reloaded!" | |
##status bar | |
#set -g status-interval 10 | |
#set -g status-bg colour100 | |
#setw -g window-status-current-fg black | |
#setw -g window-status-current-bg white | |
# | |
# | |
# バックスクロール行数 | |
set-option -g history-limit 1000 | |
#shell | |
set-option -g default-shell /bin/zsh | |
# キーストロークのディレイを減らす | |
set -sg escape-time 1 | |
# pane-active-border | |
set -g pane-active-border-fg white | |
# ステータスバーの外観の設定 | |
set -g status-fg white | |
set -g status-bg cyan | |
set -g status-left-length 30 | |
set -g status-left '#[fg=black,bg=cyan,bold] [#S]#[default]' | |
set -g status-right '#[fg=black,bg=cyan,bold] [%Y-%m-%d(%a) %H:%M]' | |
# KeyBindings | |
# pane | |
unbind 1 | |
bind 1 break-pane | |
bind 2 split-window -v | |
bind 3 split-window -h | |
bind k kill-pane | |
unbind & | |
set-window-option -g mode-mouse on | |
set -s escape-time 0 | |
unbind C-s | |
# コピーモードでemacs風の操作(終了時はC-x c) | |
setw -g mode-key emacs | |
# C-gをキャンセルコマンドとして利用する | |
unbind C-g | |
# 256色表示 | |
set -g default-terminal "screen-256color" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment