mirror of
https://github.com/xlogerais/config-tmux
synced 2024-11-10 00:51:41 +01:00
Initial commit
This commit is contained in:
commit
017834d769
6
README.md
Normal file
6
README.md
Normal 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
29
config
Normal 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
|
Loading…
Reference in New Issue
Block a user