Skip to content

Commit

Permalink
Add tmux config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-chernikov committed Mar 30, 2016
1 parent f0ac034 commit ff2122f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions make_environment.sh
Expand Up @@ -14,6 +14,7 @@ ln -f $path/git/gitignore ~/.gitignore
ln -f $path/autotest/autotest.rb ~/.autotest
ln -f $path/vim/vimrc ~/.vimrc
ln -f $path/ssh/config ~/.ssh/config
ln -f $path/tmux/tmux.conf ~/.tmux.conf

mkdir ~/.mplayer 2>/dev/null
ln -f $path/mplayer/config ~/.mplayer/config
23 changes: 23 additions & 0 deletions tmux/tmux.conf
@@ -0,0 +1,23 @@
# UTF is great, let us use that
set -g utf8
set-window-option -g utf8 on

# Tmux should be pretty, we need 256 color for that
set -g default-terminal "screen-256color"

# Tmux uses a 'control key', let's set it to 'Ctrl-a'
# Reason: 'Ctrl-a' is easier to reach than 'Ctrl-b'
set -g prefix C-a
unbind C-b

# command delay? We don't want that, make it short
set -sg escape-time 1

# Allow us to reload our Tmux configuration while
# using Tmux
bind r source-file ~/.tmux.conf \; display "Reloaded!"

# Getting interesting now, we use the vertical and horizontal
# symbols to split the screen
bind | split-window -h
bind - split-window -v

0 comments on commit ff2122f

Please sign in to comment.