Created
April 11, 2014 07:13
-
-
Save MichaelBitard/10446012 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
# prefix is CTRL-B and CTRL-X | |
set -g prefix C-b | |
set -g prefix2 C-x | |
# enable CTRL-B and CTRL-X under other programs (like vim) - you'll have to press twice le combination to have the old one | |
bind C-b send-prefix | |
bind C-x send-prefix | |
# UTF-8 | |
set -g status-utf8 on | |
setw -g utf8 on | |
# Set 256-colour terminal (default is 16) | |
set -g default-terminal "screen-256color" | |
# Number of lines held in window history | |
set -g history-limit 100000 | |
# Set status bar | |
set -g status-fg white | |
set -g status-bg colour238 | |
setw -g window-status-current-bg blue | |
# number windows starting from 1 - handy for direct access | |
set -g base-index 1 | |
# Set window notifications | |
setw -g monitor-activity on | |
# Automatically set window title | |
setw -g automatic-rename on | |
# tab like window switching | |
bind -n S-down new-window | |
bind -n S-left prev | |
bind -n S-right next | |
bind -n C-left swap-window -t -1 | |
bind -n C-right swap-window -t +1 | |
# Enhanced next/previous window: ability to press multiple times n/p | |
bind -r n next-window | |
bind -r p previous-window | |
#If you want to use irssi in tmux, fork https://github.com/MichaelBitard/irssi-conf | |
bind i source-file ~/.irssi/tmux_chat_session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment