Created
December 8, 2014 08:33
-
-
Save guehara/d7a84ed0839485461dc3 to your computer and use it in GitHub Desktop.
tmux.conf for OSX
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 キー変更 | |
set -g prefix C-t | |
unbind C-b | |
# キーストロークのディレイを減らす | |
set -sg escape-time 1 | |
# | でペインを縦に分割する | |
bind | split-window -h | |
# - でペインを横に分割する | |
bind - split-window -v | |
# マウス操作を有効にする | |
setw -g mode-mouse on | |
set -g mouse-select-pane on | |
set -g mouse-resize-pane on | |
set -g mouse-select-window on | |
# open でファイルを開けるように | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
# 256色端末を使用する | |
set -g default-terminal "screen-256color" | |
# Use vim keybindings in copy mode | |
setw -g mode-keys vi | |
# Setup 'v' to begin selection as in Vim | |
bind-key -t vi-copy v begin-selection | |
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" | |
# Update default binding of `Enter` to also use copy-pipe | |
unbind -t vi-copy Enter | |
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" | |
#### https://github.com/altercation/solarized | |
#### COLOUR (Solarized dark) | |
# default statusbar colors | |
set-option -g status-bg black | |
set-option -g status-fg colour74 | |
set-option -g status-attr default | |
# default window title colors | |
set-window-option -g window-status-fg brightblue | |
set-window-option -g window-status-bg default | |
#set-window-option -g window-status-attr dim | |
# active window title colors | |
set-window-option -g window-status-current-fg red | |
set-window-option -g window-status-current-bg default | |
#set-window-option -g window-status-current-attr bright | |
# pane border | |
set-option -g pane-border-fg black | |
set-option -g pane-active-border-fg brightgreen | |
# message text | |
set-option -g message-bg black | |
set-option -g message-fg brightred | |
# pane number display | |
set-option -g display-panes-active-colour blue | |
set-option -g display-panes-colour brightred | |
# clock | |
set-window-option -g clock-mode-colour green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment