Flycut icon indicating copy to clipboard operation
Flycut copied to clipboard

Searching history from Bezel

Open benjaminpetrin-zz opened this issue 8 years ago • 6 comments

This was touched on in the issue that first suggested search: #46

For people who work primary out of the bezel, searching there would be really convenient. Since there are already other shortcut keys, it doesn't make sense to begin searching just by typing (which would be my first choice). Instead some key sequence should start the search. The previous suggestion was ctrl-f (standard in many GUI apps). I would also suggest "/" for consideration (as used in man pages, less, vim).

The same searching rules should apply. I do not think a first stab at this feature needs UI changes - showing the search query as it's typed would be helpful but it's not totally necessary either to get some value out of this feature.

One potentially hairy point is the fact that the delete key is already used to remove clips from the stack. This means if the delete key is also used to remove previously typed characters from the search, users may accidentally delete a clip by trying to remove all characters from their search. One option would be to assign something else to be the "delete clipping" key, such as shift-delete.

What do you think?

benjaminpetrin-zz avatar Oct 25 '16 20:10 benjaminpetrin-zz

+1

error2 avatar Dec 28 '16 11:12 error2

I'm quite interested in developing this feature, so I'm going to use this issue as a planning space for the various development concerns until it get's unwieldy.

  • [ ] Activation of search
    • [ ] cmd + F for MacOs / HUI compatibility
    • [ ] / or ? (less / vim / man etc. compatibility)
    • [ ] ctrl + s or ctrl + r (Readline / Emacs compatibility)
    • [ ] when activated:
      • [ ] Display and accept text Input of search string
      • [ ] Continuous filtering (i.e. when key up is registered in search text)
    • [ ] Display filtered search results
      • [ ] as a list (use status item menu style?)
      • [ ] Navigate between search results
        • [ ] keyboard navigation and Enter to select...
          • [ ] down / up (arrow keys - for common sense)
          • [ ] j / k down / up (Vim compatibility)
          • [ ] n / p down / up (Readlne / Emacs compatibility)
        • [ ] mouse click on item

jasonm23 avatar Sep 04 '17 03:09 jasonm23

@jasonm23 Did you ever implement this? I looked at your fork briefly and it looks like maybe no? Either way, nice writeup

adellhk avatar Feb 21 '18 00:02 adellhk

Thank you @adellhk it was unfortunately something I didn't get to. I'd still like to do it but need to make time for it.

jasonm23 avatar Feb 21 '18 03:02 jasonm23

@adellhk - I went ahead and did this, but reimplemented the feature set of FlyCut that I needed and made a new completely product.

I'm actively developing it and would love to get feedback. It's important to me that it meets the needs of developers first and foremost.

https://cutbox.github.io

jasonm23 avatar Apr 22 '18 13:04 jasonm23

omgosh so excite!!! Nice!!

adellhk avatar Apr 26 '18 18:04 adellhk