AckslD / nvim-neoclip.lua

Clipboard manager neovim plugin with telescope integration
994 stars 20 forks source link

feat: display macros as map keycodes instead of raw bytes #99

Closed Jeansidharta closed 1 year ago

Jeansidharta commented 1 year ago

Closes #98.

Macros will now be shown as a proper string that can be used in a map, instead of showing the raw byte representation of the keycodes.

An example: what would be previously shown as "one\ntwo" will now be shown as "onetwo"

A new options disable_keycodes_parsing was added that if set to true (dafault false), will disable this feature, and revert to the old behavior

This option will only change how macros are displayed, and not how they are stored.

Here's a usage example:

Jeansidharta commented 1 year ago

Should we make this options's default to true? I think this is way nicer than displaying raw character bytes, and maybe it's not really a breaking change?

Jeansidharta commented 1 year ago

@AckslD All done! I've already ammended the commit, so we won't have to squash it

Let me know if there is something else that needs to be changed

AckslD commented 1 year ago

@Jeansidharta I just saw the comments above that I thought I had sent was still pending, sorry for that!

Jeansidharta commented 1 year ago

Hey @AckslD not a problem! I've been using my own branch of this project for so long that I also forgot this was still open :P