Live data from Hacker News

The weight of the clipboard

kinduff.com

91–100 of 139 posts

Re: The weight of the clipboard

#91
I'm happy someone has vocalized this same nagging feeling I have had for all these years. I just wish it had been addressed instead in the form of haiku. Maybe someone can try.

The other thing that has bothered me all these years:

Head down and typing,

Whoops, no text field selected.

Where did the text go?

Re: The weight of the clipboard

#92

While writing & editing code, and only while doing that, I have a tic that looks insane to onlookers. The last comment I received was “Why the hell are you tapping the caps-lock key non-stop?” I don’t know why I do it. It helps me think, though. Maybe any of the keys on the keyboard would satisfy my cravings to tap a key repeatedly, but I unconsciously chose capslock because it’s mostly benign to press. Perhaps it’s…

The tapping is from anxiety. You’re defaulting to a common action. Some people chew their finger nails, some use a fidget spinner. If you want to stop, identify when you’re doing the habit and catch and control yourself, relax, and identify the anxiety.

Re: The weight of the clipboard

#93

I'm happy someone has vocalized this same nagging feeling I have had for all these years. I just wish it had been addressed instead in the form of haiku. Maybe someone can try. The other thing that has bothered me all these years: Head down and typing, Whoops, no text field selected. Where did the text go?

I have cut some text,

Now a new feeling haunts me.

I must paste it, MUST.

Re: The weight of the clipboard

#94

I'm working on a clipboard manager, because I'm not happy with any of the ones currently available. Here are my design goals: - The system should be able to efficiently store, manipulate, and search an unlimited number of clipboard entries with reasonable performance. - The software should be cross-platform, and should have implementations for major desktop platforms (Windows, X11, Wayland, macOS). - Non-text data (i…

As someone who used to work with spreadsheets extensively at a bank, I can tell you that some kind of stack/queue functionality would be a godsend. For instance, in this mode you hit Ctrl+C five times, then the subsequent five Ctrl+V actions paste the data in FIFO order. It may not seem like much, but going in between app windows in order to grab data is a big time sink. Being able to copy items sequentially and then…

Thanks for sharing! As I understood, I think many clipboard managers already allow this, or at least, CopyQ and Ditto do. The approach is to just copy all the items you need, and then press "Win+V 5" five times. 5 would paste the fifth item in the history, but every time you did that, it is pulled to the top of the list, putting the next item in that spot.

Would this work, or is there more to it?

Re: The weight of the clipboard

#95

I'm working on a clipboard manager, because I'm not happy with any of the ones currently available. Here are my design goals: - The system should be able to efficiently store, manipulate, and search an unlimited number of clipboard entries with reasonable performance. - The software should be cross-platform, and should have implementations for major desktop platforms (Windows, X11, Wayland, macOS). - Non-text data (i…

Sounds like a sync plugin for CopyQ. https://hluk.github.io/CopyQ/ If I would guess, I would assume there is already one somewhere. If there isn't maybe just using Syncthing would be enough? https://syncthing.net/

I'm using CopyQ (and SyncThing) right now. Its design limits the number of entries, and sync doesn't work very well.

Re: The weight of the clipboard

#96
post #66

Earlier quoted context omitted.

Windows also comes with a native clipboard manager. Win+v to use it.

Last I checked, it wasn't as good as Ditto. Plus, Ditto is burned into my workflow now, just as much as AutoHotKey is :)

What makes Ditto better?

Re: The weight of the clipboard

#97
I developed a bad habit of not wanting anything in my clipboard after I've used it, so I usually copy the letter `e` (or something similarly unimportant). It's almost like an OCD at this point (in the browser, CTRL + L, 'e', backspace, CTRL + A, CTRL + C, esc). One of my new-year's resolutions is literally to stop doing this silliness.

Re: The weight of the clipboard

#98

I'm working on a clipboard manager, because I'm not happy with any of the ones currently available. Here are my design goals: - The system should be able to efficiently store, manipulate, and search an unlimited number of clipboard entries with reasonable performance. - The software should be cross-platform, and should have implementations for major desktop platforms (Windows, X11, Wayland, macOS). - Non-text data (i…

A bit orthogonal, but here's my suggestion: In addition to: cut | copy | paste Add: swap It swaps the current selection with the contents of the clipboard (replacing the clipboard with the selection, replacing the section with the prior contents of the clipboard — a swap). It's a nerdy ask, if anything adds more complexity to the clipboard concept. But I have found myself having a need for this shortcut often. Maybe…

In vim that's what happens if you select some text, then paste. Honestly I sometimes want to turn this off, as I want to paste the same thing multiple times, and I resort to putting the fragment to paste into a named register.

Re: The weight of the clipboard

#99

Unify your vim clipboard with the system clipboard, they said. The integration is wonderful, they said. Well: 1/ copy URL from browser 2/ alt tab to vim notes 3/ delete old URL from notes 4/ paste new URL but get the old URL instead?! How do I do the FORTH equivalent of swapping the two items on the top of the stack (and have a stack in the first place)? :)

I just go to insert mode and shift-Insert , to insert from clipboard

This works even if I ssh into something.

Re: The weight of the clipboard

#100
post #34

Earlier quoted context omitted.

Doesn’t dd delete the line under the cursor?

dd deletes the line under the cursor. "dd deletes something into the d register (the " is part of the command that selects the register). "d selects the register. The second d is the delete command. So you could do something like "dd2w to delete the next two words and save them into the d register. The same thing works with any named register, so a less confusing example might have been "cd2w to delete into the c reg…

There's also a dedicated null register "_, so "_d really just deletes it without storing it anywhere. But I agree _ is harder to reach than d.

I also really like junegunn/vim-peekaboo, which really helps if I know I copied something, but I'm not sure how far down the stack it is.

Post reply on HN