Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ######################################################################
- # key bindings
- ######################################################################
- ## emacs-style by default
- setw -g mode-keys emacs
- ## change prefix key
- set -g prefix C-o
- unbind C-b
- ## screen-like hardcopy and logging
- bind C-o select-window -t !
- bind H capture-pane ; save-buffer -b 0 ~/tmux.hardcopy ; delete-buffer -b 0
- bind h pipe-pane -o 'cat >>~/output.#I-#P'
- ## add some vi-style
- bind -nr -t emacs-copy h cursor-left
- bind -nr -t emacs-copy j cursor-down
- bind -nr -t emacs-copy k cursor-up
- bind -nr -t emacs-copy l cursor-right
- bind -nr -t emacs-copy b page-up
- bind -nr -t emacs-copy / search-forward
- bind -nr -t emacs-copy ? search-reverse
- bind -nr -t emacs-copy C-g cancel
- ######################################################################
- # parameters
- ######################################################################
- ## status visuals
- set -g status off
- set -g status-bg white
- set -g status-fg black
- set -g status-utf8 on
- ## session defaults
- set -g history-limit 10000
- set -g default-shell /usr/local/bin/logsh.ttyrec
- set -g update-environment "DISPLAY WINDOWID SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION GPG_AGENT_INFO"
- ## window defaults
- setw -g utf8 on
- setw -g mode-keys emacs
- setw -g automatic-rename on
- ######################################################################
- # startup commands
- ######################################################################
- new-session -s main
- new-window
- new-window
- new-window
- select-window -t 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement