Skip to content

Commit 2578a5f

Browse files
committed
Vi style copying in Tmux
1 parent 8793fef commit 2578a5f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tmux.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Vi mode copying
2+
# Enter copy mode: ctrl+a [
3+
# space to start selecting, y to copy
4+
setw -g mode-keys vi
5+
bind -T copy-mode-vi y send -X copy-pipe-and-cancel "pbcopy"
6+
17
# address vim mode switching delay (http://superuser.com/a/252717/65504)
28
set -s escape-time 0
39

0 commit comments

Comments
 (0)