Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # General config# General config# General config
- set -g default-terminal "screen-256color"
- set-option -g default-shell $SHELL
- set -g default-command /usr/local/bin/zsh
- set-window-option -g mode-keys vi
- # remap prefix to Control + a
- # set -g prefix C-a
- # unbind C-b
- # bind C-a send-prefix
- # Remap split panes
- bind | split-window -h
- bind - split-window -v
- unbind '"'
- unbind %
- # To clear current buffer
- bind -n C-k send-keys -R \; clear-history
- # bind -n C-k clear-history
- # reload config file (change file location to your the tmux.conf you want to use)
- bind r source-file ~/.tmux.conf
- # Enable mouse control (clickable windows, panes, resizable panes)
- set -g mouse on
- # start window numbering at 1 for easier switching
- set -g base-index 1
- # History
- set -g history-limit 10000
- # Rather than constraining window size to the maximum size of any client
- # # connected to the *session*, constrain window size to the maximum size of any
- # # client connected to *that window*. Much more reasonable.
- setw -g aggressive-resize off
Add Comment
Please, Sign In to add comment