Created
May 21, 2014 04:31
-
-
Save levelone/bdf9fd38c47da826d3a2 to your computer and use it in GitHub Desktop.
.tmux.conf
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
# Keybindings | |
unbind c | |
unbind C-b | |
unbind C-a | |
unbind % | |
unbind , | |
unbind . | |
unbind n | |
unbind p | |
unbind '"' | |
unbind l | |
unbind & | |
unbind "'" | |
# set-option -g prefix C-a # C-a for perfix just like screen | |
set -g prefix ` | |
bind-key ` send-prefix | |
bind-key n new-window | |
bind-key C-a last-window | |
bind-key | split-window -h | |
bind-key \ split-window -h | |
bind-key - split-window -v | |
bind-key x kill-pane | |
bind-key X kill-window | |
# bind-key q confirm-before kill-session | |
bind-key q confirm-before kill-server | |
bind-key , previous-window # < | |
bind-key . next-window # > | |
bind-key < swap-window -t :- | |
bind-key > swap-window -t :+ | |
# bind-key Escape copy-mode -u | |
# bind-key Up copy-mode -u | |
bind-key r source-file ~/.tmux.conf\; display-message " ✱ ~/.tmux.conf was reloaded" | |
bind-key R refresh-client | |
# bind-key a send-key C-a | |
# set status bar | |
set-option -g status-utf8 on | |
set-option -g status-bg colour232 | |
set-option -g status-fg colour235 | |
# set-option -g status-left '⣿' | |
# set-option -g status-right '⡇ #[bold]❐ #S:#I#[default] ⡇ #[bold]#(whoami) ● #H#[default] ' | |
# set-option -g status-right '⡇ ❐ #S ⡇ ❖ #(rvm tools identifier) ⡇ #(whoami) ● #H ' | |
set-option -g status-left '⣿' | |
set-option -g status-right '#(whoami) ● #H#[default] ' | |
set-option -g status-right-length 60 | |
set-option -g status-left-length 60 | |
# highlight active window | |
set-window-option -g window-status-current-bg colour10 | |
set-window-option -g window-status-current-fg colour234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment