X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.config%2Ftmux%2Fconfig;h=127a0eda0eed15161f558fbb17c176f3c0dbcd83;hb=de5c05200addd56fd51b2ce3efca58870b8642bb;hp=7bf6ba8f86bed43c1f561a29e001260ed9fa9c28;hpb=3040d0ae9aefe3929082bfb0565e6de8910a7641;p=dotfiles.git diff --git a/shell/.config/tmux/config b/shell/.config/tmux/config index 7bf6ba8..127a0ed 100644 --- a/shell/.config/tmux/config +++ b/shell/.config/tmux/config @@ -17,3 +17,9 @@ bind H split-window -h # Start not at index 0 but at one for windows set -g base-index 1 + +# vi copy and pasting +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection +bind-key -T copy-mode-vi 'Space' send -X halfpage-down +bind-key -T copy-mode-vi 'Bspace' send -X halfpage-up