Score:0

paste a text in two place at the same time in the nano editor

eg flag

I have a text file:

#"UDP-/32", "UA", 0, "any", "any", udp, 0.0.0.0/0, /32, {x, x, x}

Is there a way so I can paste a text before /32 at the same time, like multiple cursors in the vscode?

The result be:

#"UDP-TEXT/32", "UA", 0, "any", "any", udp, 0.0.0.0/0, TEXT/32, {x, x, x}
Score:0
cn flag

"paste" at the same time? No. A paste is one time so you would need to repeat it each time you want it pasted.

You can do control-f and do a replace (with of without confirm) of /32 with TEXT/32.

All other options will be outside of VSCode (like using sed).

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.