Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set -g base-index 1
- set -g default-terminal "screen-256color"
- set -g prefix C-o
- set -g xterm-keys on
- set -gs escape-time 0
- set -gw aggressive-resize on
- set -gw mode-keys emacs
- ## Bindings
- bind-key C-o send-prefix
- bind-key b last-window
- bind r source-file ~/.tmux.conf \; display "configuration file reloaded."
- bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
- bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection clipboard"
- bind-key -n C-y run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
- # Maximizing and restoring panes.
- set -gw allow-rename off
- unbind +
- bind + new-window -d -n tmp \; swap-pane -s tmp.0 \; select-window -t tmp
- unbind -
- bind - last-window \; swap-pane -s tmp.0 \; kill-window -t tmp
- source '.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement