This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.tmux.conf

37 lines
973 B
Plaintext
Raw Normal View History

# screen behaviour
unbind C-b
set -g prefix C-a
unbind C-a
bind C-a send-prefix
# config reload
unbind r
bind r source-file ~/.tmux.conf
# more ergonomic splitting
unbind |
bind | split-window -h
unbind -
bind - split-window -v
2018-05-05 15:35:07 +02:00
# more ergnomic window numbers
2018-05-05 15:19:30 +02:00
set -g base-index 1
setw -g pane-base-index 1
2018-05-08 18:53:19 +02:00
# only set window size when client is attached to the specific window
setw -g aggressive-resize on
2018-05-05 15:42:58 +02:00
# HOWTO copy: PREFIX+[, space, select text, enter, PREFIX+]
2018-05-08 18:53:19 +02:00
# disable mouse (prevents simple copying)
set -g mouse off
2018-05-05 14:58:14 +02:00
# powerline
run-shell "powerline-daemon -q || true"
2019-02-15 16:16:18 +01:00
# 3.5 for stretch, 3.7 for buster
source -q "/usr/local/lib/python3.5/dist-packages/powerline/bindings/tmux/powerline.conf"
source -q "/usr/local/lib/python3.7/dist-packages/powerline/bindings/tmux/powerline.conf"
source -q "~/.local/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf"
source -q "~/.local/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf"