make better tmux conf
This commit is contained in:
parent
bdc493aee5
commit
9b2ce27b82
12
tmux.conf
12
tmux.conf
@ -1,7 +1,19 @@
|
|||||||
|
# need me some vi mode
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
|
|
||||||
|
# copy-pasta in a vi-like way
|
||||||
unbind [
|
unbind [
|
||||||
bind Escape copy-mode
|
bind Escape copy-mode
|
||||||
unbind p
|
unbind p
|
||||||
bind p paste-buffer
|
bind p paste-buffer
|
||||||
bind-key -t vi-copy 'v' begin-selection
|
bind-key -t vi-copy 'v' begin-selection
|
||||||
bind-key -t vi-copy 'y' copy-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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user