1
0
mirror of https://github.com/xlogerais/config-tmux synced 2024-11-10 00:51:41 +01:00

Initial commit

This commit is contained in:
Xavier Logerais 2017-09-14 13:29:13 +02:00
commit 017834d769
2 changed files with 35 additions and 0 deletions

6
README.md Normal file
View File

@ -0,0 +1,6 @@
Tmux configuration
==================
1/ clone repo : ```git clone https://github.com/xlogerais/tmux-config```
2/ make symlink : ```ln -sf $HOME/.tmux/config $HOME/.tmux.conf```
3/ Enjoy...

29
config Normal file
View File

@ -0,0 +1,29 @@
# Set history size
set -g history-limit 10000
# Force terminal for 256 colors support
set -g default-terminal "screen-256color"
# Display titles
set -g set-titles on
set -g set-titles-string "#T"
# Make splitting more intuitive
unbind %
bind | split-window -h
bind _ split-window -v
# Keybindings
bind -n S-up new-window
bind -n S-down new-window
bind -n C-left prev
bind -n C-right next
bind -n S-left swap-window -t -1
bind -n S-right swap-window -t +1
bind z resize-pane -Z
# Mouse
set -g mouse on