Anything else on Windows may result in pain. #bind-key -n C-y run-shell "tmux save-buffer - | xclip -i -selection clipboard >/dev/null"īind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'xclip -selection clipboard -i'įor Windows vcxsrv is the simplest and most fool-proof X-Windows server. With xclip, mouse and copy/paste can work over SSH-forwarded X-sessions with C-y and Enter from copy-mode-vi so:īind -n WheelUpPane if-shell -F -t = "#' 'send-keys -M' 'select-pane -t= copy-mode -e #send-keys -M'"īind -n WheelDownPane select-pane -t= \ send-keys -Mīind-key -n C-y run "tmux show-buffer | xclip -selection clipboard -i >/dev/null" Tmux is exceptional mouseless, though personally I prefer combining with mouse. This way you learn faster and optimize for your own needs. Make your own cheatsheet for bindings you need.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |