2012-06-12 02:49:33 +00:00
|
|
|
# need me some vi mode
|
2012-06-05 14:54:46 +00:00
|
|
|
setw -g mode-keys vi
|
2012-06-12 02:49:33 +00:00
|
|
|
|
2012-07-12 02:21:52 +00:00
|
|
|
# note to self: learn ye a zsh
|
|
|
|
set -g default-command /bin/bash
|
|
|
|
set -g default-shell /bin/bash
|
|
|
|
|
2012-06-12 02:49:33 +00:00
|
|
|
# copy-pasta in a vi-like way
|
2012-06-05 14:54:46 +00:00
|
|
|
unbind [
|
|
|
|
bind Escape copy-mode
|
|
|
|
unbind p
|
|
|
|
bind p paste-buffer
|
|
|
|
bind-key -t vi-copy 'v' begin-selection
|
|
|
|
bind-key -t vi-copy 'y' copy-selection
|
2012-06-12 02:49:33 +00:00
|
|
|
|
|
|
|
# must get used to C-b, even when using byobu-tmux
|
|
|
|
set-option -g prefix C-b
|
|
|
|
|
|
|
|
# love the toggle
|
|
|
|
bind-key C-b last-window
|
|
|
|
|
|
|
|
# faster!
|
|
|
|
set -s escape-time 0
|
2012-08-25 14:47:00 +00:00
|
|
|
|
|
|
|
# i forget easily
|
|
|
|
set -g history-limit 100000
|