set -g set-clipboard on bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel “xsel -i –clipboard” bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel “xsel -i –clipboard”
set-option -g history-limit 50000 If a “line” really is just the characters within it, then we can assume 128 bytes is a reasonable line size in memory. If I’m willing to commit 32 MB to scroll back for a single pane (which suits me, I don’t use many panes), then I could increase my history limit to roughly 2 ** (25 - 7) = 256K or 250 thousand lines
unbind C-b
set -g prefix C-q
set -g mouse on
bind | split-window -h
bind - split-window -v
bind _ split-window -v
unbind '"'
unbind %
bind r source-file ~/.tmux.conf
set-option -g allow-rename off
bind -n M-Up copy-mode
unbind -T copy-mode-vi MouseDragEnd1Pane bind -T copy-mode-vi MouseDown1Pane select-pane ;
send-keys -X copy-pipe “pbcopy” ;
send-keys -X clear-selection
bind p paste-buffer bind C-p choose-buffer
set-option -s escape-time 0
bind ’“’ split-window -c”#{pane_current_path}" bind % split-window -h -c “#{pane_current_path}” bind c new-window -c “#{pane_current_path}”