summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 31f0776..9b5ce8d 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -3,6 +3,10 @@ bind m split-window -v
bind r source-file ~/.tmux.conf
set -g status-fg white
set -g status-bg black
+setw -g mode-keys vi
+bind-key -T copy-mode-vi 'v' send -X begin-selection
+bind-key -T copy-mode-vi 'y' send -X copy-selection
+bind p pasteb
# Smart pane switching with awareness of Vim splits.
# See: https://github.com/christoomey/vim-tmux-navigator