Closed ditsuke closed 1 year ago
This feature would be highly appreciated.
What key to bind?) c?
cc - copy content
cp - copy path
That sounds good. One example could be.
ck - copy key cv - copy value (or cp - copy content) cp - copy path
That sounds good. One example could be.
ck - copy key cv - copy value (or cp - copy content) cp - copy path
What do you about the same commands but yank based? yk, yv, yp
.
That looks familiar to those who use vim, tmux and etc.
What defaults for vim?
What defaults for vim?
Just an idea,
y - yank key yy - yank value Y - yank path
Right now I'm having to result to using Tmux to copy whatever I have in fx, but this would be super nice to have. I'm considering learning some Go just so that this can be added in 😄
What do you about the same commands but yank based? yk, yv, yp.
Lets do this way.
What do you about the same commands but yank based? yk, yv, yp.
Lets do this way.
I like them! How about with yy
defaulting to the value?
Why yy to value?)
Why yy to value?)
yy
yanks the current line in vim. Bringing over the idiom to fx
, it should be handy that yy
yanks the value considering it the most common use case.
Why yy to value?)
yy
yanks the current line in vim. Bringing over the idiom tofx
, it should be handy thatyy
yanks the value considering it the most common use case.
This was exactly my thinking 😀
Done!
Keys are yy yk yp.
What
Ability to copy selected value to keyboard
Why
Useful as a quick way to extract some value from JSON and work with it without using a mouse to copy.
History
Previously requested in #69.