diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-05-19 13:58:34 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-05-19 14:00:51 -0400 |
commit | 18132d7281dddd98f8dcc298ec742a02ed278d86 (patch) | |
tree | c6caf7d4a137273fb022e89bce664336fbea46b2 /tmux.conf | |
parent | 9bc6c48a082657e9985b266170c0dc8d799ba328 (diff) | |
download | conf-18132d7281dddd98f8dcc298ec742a02ed278d86.tar.gz conf-18132d7281dddd98f8dcc298ec742a02ed278d86.zip |
make copy-mode keybindings a bit more vim-like
Diffstat (limited to 'tmux.conf')
-rw-r--r-- | tmux.conf | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |