Created
September 12, 2014 17:32
-
-
Save csfrancis/3b7d348d86b750ad5a99 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
unbind C-b | |
set -g prefix C-a | |
bind a send-prefix | |
unbind ^C | |
bind ^C new-window | |
bind c new-window | |
unbind ^a | |
bind C-a last-window | |
bind a last-window | |
unbind % | |
bind | split-window -h | |
bind - split-window -v | |
unbind ^D | |
bind ^D detach | |
bind d detach | |
unbind y | |
bind y run "tmux save-buffer - | nc -q1 192.168.38.1 2224" | |
bind m command-prompt -p "man:" "split-window 'exec man %1'" | |
bind '~' split-window 'exec htop' | |
bind E command-prompt -p "exec on all:" "run \"tmux list-windows -t #S -F '#S:##{window_index}' | xargs -I@ tmux list-panes -t @ -F '@.##{pane_index}' | xargs -I@ tmux send-keys -t @ '%1' Enter\"" | |
set -g history-limit 16384 | |
setw -g mode-keys vi | |
set -g set-titles on | |
set -g set-titles-string '[#S:#I #h] #W' | |
set -g status-interval 2 | |
set -g status-right '#h | #(date +"%H:%M ")' | |
set -g status-right-length 30 | |
set -g status-position top | |
# Colours | |
set -g status-bg colour235 #base02 | |
set -g status-fg colour102 | |
set -g status-attr default | |
setw -g window-status-fg colour244 | |
setw -g window-status-bg default | |
setw -g window-status-current-fg colour152 | |
setw -g window-status-current-bg default | |
set -g pane-border-fg colour235 | |
set -g pane-active-border-fg colour152 | |
set -g message-bg colour235 | |
set -g message-fg colour152 | |
set -g display-panes-active-colour colour33 | |
set -g display-panes-colour colour152 | |
set -g display-time 1000 | |
setw -g mode-bg colour152 | |
setw -g clock-mode-colour colour152 | |
set -g base-index 0 | |
setw -g pane-base-index 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment