Skip to content

Instantly share code, notes, and snippets.

@masaponto

masaponto/.tmux.conf

Created Feb 19, 2020
Embed
What would you like to do?
# 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