Mercurial > dotfiles.old
view tmux.conf @ 83:dd76ef1174f1
Add q as fzf - z mashup
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 30 Jul 2014 19:12:19 +0200 |
parents | aeb4af7c7fb6 |
children | f062b25a262e |
line wrap: on
line source
# improve colors set -g default-terminal 'screen-256color' bind s split-window -v bind v split-window -h # act like vim setw -g mode-keys vi bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind-key -r C-h select-window -t :- bind-key -r C-l select-window -t :+ #act like GNU screen unbind C-b set -g prefix C-a # resize panes like vim # feel free to change the "1" to however many lines you want to resize by, only # one at a time can be slow bind < resize-pane -L 1 bind > resize-pane -R 1 bind - resize-pane -D 1 bind + resize-pane -U 1 # start window numbers at 1 to match keyboard order with tmux window order set -g base-index 1 # renumber windows sequentially after closing any of them set -g renumber-windows on # remove administrative debris (session name, hostname, time) in status bar set -g status-left '' set -g status-right '' # increase scrollback lines set -g history-limit 10000 # switch to last pane bind-key C-a last-pane # Local config if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local' bind -t vi-copy 'v' begin-selection bind -t vi-copy 'y' copy-pipe "reattach-to-user-namespace pbcopy"