Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste into termux-float #1

Open
fornwall opened this issue Apr 5, 2017 · 4 comments
Open

Paste into termux-float #1

fornwall opened this issue Apr 5, 2017 · 4 comments

Comments

@fornwall
Copy link
Member

fornwall commented Apr 5, 2017

From @wende on April 4, 2017 21:13

You can paste into normal termux by long press.
Is there any functionality to paste to floating window Termux?

Copied from original issue: termux/termux-app#295

@fornwall
Copy link
Member Author

fornwall commented Apr 5, 2017

@wende It's not possible at the moment, we need some UI for it.

If you have the Termux:API add-on installed, you can use the termux-clipboard-get command as a workaround for the moment.

@bit-garden
Copy link

This can be done with a tmux config.

bind V run-shell "termux-clipboard-get >~/.tmux-buffer-tmp" \; load-buffer -b tmp-copy-buffer ~/.tmux-buffer-tmp \; paste-buffer -b tmp-copy-buffer -d \; run-shell -b "rm ~/.tmux-buffer-tmp"
bind C save-buffer ~/.tmux-buffer-tmp \; run-shell "cat ~/.tmux-buffer-tmp | termux-clipboard-set " \; run-shell -b "rm ~/.tmux-buffer-tmp"

Prefix + C or V to copy to android clipboard or paste.

@jhysum
Copy link

jhysum commented Jan 24, 2018

@bit-garden I don't get how to run tmux config in termux and how to get the control+V to work. I would love to have a bit more guidance if you could help.

@Cvar1984
Copy link

Cvar1984 commented Mar 9, 2018

@bit-garden
I got error syntax -,-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants