1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-16 08:33:30 +01:00
dotfiles/tmux/tmux.conf

40 lines
842 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-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"
# 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"