appending text to register instead replacing existing text in buffer #14874
-
|
I wanted to cut and paste text from a helix 'buffer A' to another 'buffer B', but moving from 'buffer A' for selecting then deleting and then moving back to the 'buffer B' to paste and then again moving back to 'buffer A' seems like too much work, I wanted to ask if there is a way for me to append to registers, is there a key or command that does it? for ExampleIf I press capital D after I a make a selection, then it should delete and yank it to the primary register, and afterwards if I delete another selection using capital D, it should add to the content of the the primary register, so I can paste it all in one go. thnks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I don't think that functionality exists exactly as you describe however I can try to offer a couple other solutions that may help you achieve a smoother workflow here.
[keys.normal]
H = "jump_view_left"
L = "jump_view_right"Then I just do you describe where it is "too much work" except much faster with the split and keybind I know it's not exactly what you were hoping, but hopefully it helps you regardless. Maybe what you're asking could be some feature in the future |
Beta Was this translation helpful? Give feedback.
I don't think that functionality exists exactly as you describe however I can try to offer a couple other solutions that may help you achieve a smoother workflow here.
Do all your selections at once using
swith some regex, then use:yank-jointo get all selected,A-dto delete without putting text in register, then move to your other buffer and paste withp.This is more what I do more generally. I have two buffers open side by side with a split. I have a keybind to easily jump between them:
Then I just do you describe where it is "too much work" except much faster with the split and keybind
I know it's not exactly what you w…