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
710 B
Plaintext

# 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
# more ergnomic window numbers
set -g base-index 1
setw -g pane-base-index 1
# only set window size when client is attached to the specific window
setw -g aggressive-resize on
# HOWTO copy: PREFIX+[, space, select text, enter, PREFIX+]
# disable mouse (prevents simple copying)
set -g mouse off
# Fix vim color scheme breaking
set -g default-terminal "screen-256color"
# Lower escape time for smoother usage in vim
set -sg escape-time 10
source-file ~/.tmux/tmuxline.conf