Let's say with the cursor I'm on
def f(a=1, b=2, c=3, e=4 )
and we want to delete the whole argument including the line break, so that we get
def f(a=1, c=3, e=4 )
but without deleting the preceding character (i.e. it should also be applicable to deleting
a...) What is the shortest way to do so?
I'm asking because in non-vim texteditors you could do so by selecting the whole line using shift+down arrow and then deleting the selection using del, and so far I have not found an efficient way to do so in vim, the best I could come up with is using visual mode: v, j, h, d
You can also imagine a similar situation with something like
y = a * xa + \ b * xb + \ c * xc
acharacter and then save.