I think I got a wrong approach when yanking/pasting lines.
I’d like to mimic the vim Vjjd in Kakoune with xjjd but when I paste it somewhere, it still join an line at the end of the copied one.
How I the easiest way to do it ? I think my best chance is adding a X just before d but is there a better way ? And, I still miss the real impact of X cause with it, I can paste anywhere (in middle of a line) and it will paste after the line return.
Do you mean xJJd ?
I’m not sure what you mean by " it still join an line at the end of the copied one." and " I can paste anywhere (in middle of a line) and it will paste after the line return.", but I’ll try to answer anyway
After doing xJJ you can press l to select the remaining ‘\n’ characater. So the full sequence would be xJJld, but you also do xXX, XXX or even better: 3X.
In kakoune ‘\n’ is like any other character, you put you cursor on it and remplace it , delete it, and hover it in your ‘visual’ selection …
I don’t think it’s the case in vim, maybe that can be tricky when you come form this editor.