Mo :ferris: :tux: on Nostr: Arindam Basu You can pipe selected text to any shell command using a pipe | Try ...
Arindam Basu (npub1dn4…cue6) You can pipe selected text to any shell command using a pipe |
Try piping into `tmux send-keys …`
You can alias it in your shell
I use piping to sort lines for example, just pipe into `sort`
Personally, I use Zellij instead of Tmux and would just copy and paste in that case. After selection I would press the following:
y to copy
Alt+k to go to the next pane
Ctrl+Shift+p to paste
Published at
2023-08-26 00:06:23Event JSON
{
"id": "686a3c4bc03be7a4e5dcd5423c8346aa57ce874c9aa07431ded5efc352e3df71",
"pubkey": "979383f8767c5d795fcad86f82dc7b38b384c1a473710c433014dc2c0fb0e359",
"created_at": 1693008383,
"kind": 1,
"tags": [
[
"p",
"6ceb50a532e35e27d8c9f73043fc4dbf55562eb02abf341939035291b5424e11",
"wss://relay.mostr.pub"
],
[
"e",
"31584397c2fd4bf2e2c24e6ef97c8e3b5e771dd9cf3fe9ae2a077252cce5c528",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/mo8it/statuses/110952997388275892",
"activitypub"
]
],
"content": "nostr:npub1dn44pffjud0z0kxf7ucy8lzdha24vt4s92lngxfeqdffrd2zfcgs67cue6 You can pipe selected text to any shell command using a pipe |\n\nTry piping into `tmux send-keys …`\n\nYou can alias it in your shell\n\nI use piping to sort lines for example, just pipe into `sort`\n\nPersonally, I use Zellij instead of Tmux and would just copy and paste in that case. After selection I would press the following:\n\ny to copy\nAlt+k to go to the next pane\nCtrl+Shift+p to paste",
"sig": "d78d1f62278728beedeb1e129398513728437c0dbc8e2079e21a4b64e1c42e9befcc481c4833440092e321f5cf80246ea3927f67e9cd739fab84ca8f393f30ee"
}