27 lines
510 B
Bash
27 lines
510 B
Bash
# need me some vi mode
|
|
setw -g mode-keys vi
|
|
|
|
# note to self: learn ye a zsh
|
|
set -g default-command /bin/bash
|
|
set -g default-shell /bin/bash
|
|
|
|
# copy-pasta in a vi-like way
|
|
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
|
|
|
|
# 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
|
|
|
|
# i forget easily
|
|
set -g history-limit 100000
|