Created
September 9, 2014 22:31
-
-
Save smswz/c6ce3aa52fdea9f4cdde to your computer and use it in GitHub Desktop.
Tmux config
This file contains 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
# Set terminal for 256 colors | |
set -g default-terminal "screen-256color" | |
# Change prefix key to Ctrl-a | |
set-option -g prefix C-a | |
unbind C-b | |
# Hit twice for last window | |
bind-key C-a last-window | |
# Send prefix by double a | |
bind-key a send-prefix | |
# Start at 1 | |
set -g base-index 1 | |
set -g renumber-windows on | |
# No delay between commands | |
set -s escape-time 0 | |
# Automatic rename | |
setw -g automatic-rename on | |
# Use mouse scroll (use option for copy paste) | |
set -g mode-mouse on | |
# New windows open in the same path | |
bind c new-window -c "#{pane_current_path}" | |
bind-key % split-window -c "#{pane_current_path}" | |
bind-key '"' split-window -h -c "#{pane_current_path}" | |
# Status bar | |
set -g status-fg white | |
set -g status-bg colour88 | |
set -g status-left ' ' | |
set -g status-left-length 200 | |
set -g status-right '#[fg=white]%a %b %d %H:%M ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment