AckslD / nvim-neoclip.lua

Clipboard manager neovim plugin with telescope integration
931 stars 19 forks source link

[feature request] Allow to edit an entry #91

Closed Jeansidharta closed 1 year ago

Jeansidharta commented 1 year ago

Hi!

I'm trying to implement a way to edit a macro. What I'm doing right now is using a custom telescope action to open a temporary buffer to edit the macro. However, there is no simple way to edit an entry. My only options would be to create a new entry with the edited macro, or to mess around in the neoclip's internal db object.

Is there another way to implement what I'm trying to do? If not, Would this be a desirable feature? I'd be willing to make a PR to implement this, if needed.

Thank you for the time and effort. Loving the plugin so far :)

AckslD commented 1 year ago

That seems useful indeed, atm I don't think there is an easy way to do that but would need to extend the current functionality.

Jeansidharta commented 1 year ago

@AckslD I've made a simple implementation in my fork to allow for my custom telescope action to work. I didn't make a PR because I didn't know if this was a desirable feature. Would this be a good new feature?

AckslD commented 1 year ago

I think that would be a nice feature :)