I know that I can delete until the first character with dgg
or until line 1 with d1 Shift-G
.
But I would prefer something conceptually elegant if possible.
I guess I can easily just remap a single key to d2 Shift-G
, but I’m still not clear on how you find or decide what key to map to, in case you overwrite something important.
Is there any syntax of Vim native built-ins which possibly says:
“Delete until the line one beneath the first”.
For example, maybe there is something I could add between d
and gg
which says “+1” wherever you are going?
Or is there a special code like gg
but for the second line?
Thank you