summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tmux.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index d889bcb..b8bb589 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -38,6 +38,11 @@ bind ^[ copy-mode
bind { copy-mode
bind Enter run 'tmux capture-pane -p | perl -MURL::Search -E"say for URL::Search::extract_urls(do { local \$/; <> })" | tail -n1 | xargs xdg-open'
+bind -T copy-mode-vi v send-keys -X begin-selection
+bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
+bind -T copy-mode-vi ) send-keys -X start-of-line
+bind -T copy-mode-vi _ send-keys -X back-to-indentation
+
unbind ^B
# set up default sessions