kevincox@lemmy.ml to Linux@lemmy.ml • 1 year agoWhat is your favorite terminal emulator.message-squaremessage-square38 fedilinkarrow-up152file-text
arrow-up152message-squareWhat is your favorite terminal emulator.kevincox@lemmy.ml to Linux@lemmy.ml • 1 year agomessage-square38 Commentsfedilinkfile-text
minus-square𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.socialhexbear4·1 year agoYou absolutely can. You just have to use a clipboard command as the copy/paste. Add this to your ~/.tmux.conf bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -i -b" bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -i -b" or use your favorite cli clipboard command. Note that those are using the vi bindings; you might have to adapt the config. linkfedilink
You absolutely can. You just have to use a clipboard command as the copy/paste. Add this to your
~/.tmux.conf
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -i -b" bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -i -b"
or use your favorite cli clipboard command. Note that those are using the vi bindings; you might have to adapt the config.