Skip to content

Instantly share code, notes, and snippets.

@masaponto
Created August 25, 2019 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masaponto/0805fe105a079362377d5205e2ef03a9 to your computer and use it in GitHub Desktop.
Save masaponto/0805fe105a079362377d5205e2ef03a9 to your computer and use it in GitHub Desktop.
# 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/bash
# キーストロークのディレイを減らす
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