1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 09:13:33 +01:00
dotfiles/tmux/tmux.conf

46 lines
976 B
Text
Raw Normal View History

2016-09-21 01:22:14 +02:00
# use ^b as prefix
set -g prefix C-b
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf\; display "Reloaded!"
# start window numbering at 1 for easier switching
set -g base-index 1
# vim shortcuts
setw -g mode-keys vi
2016-10-15 13:35:51 +02:00
set -g status-keys vi
2016-09-21 01:22:14 +02:00
2016-10-03 10:30:30 +02:00
# Make copy mode more vim-like.
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
bind -t vi-copy C-v rectangle-toggle
2016-09-21 01:22:14 +02:00
# commands
bind : command-prompt
# colors
set -g default-terminal "screen-256color"
2016-10-15 13:35:51 +02:00
# Set titling
set-option -g set-titles on
set-window-option -g automatic-rename on
setw -g monitor-activity on
2016-09-21 01:22:14 +02:00
# unicode
setw -g utf8 on
set -g status-utf8 on
# use PREFIX | to split window horizontally and PREFIX - to split vertically
bind | split-window -h
bind - split-window -v
# status bar config
set -g status-left "#h"
set -g status-left-length 70
set -g status-right "%a %d-%m-%y :: %H:%M"
2016-10-03 10:30:30 +02:00
# Try loading machine specific things
run-shell "bash ~/.tmux/load_hostnames.sh"