1

d7d or 7dd to delete next 7 lines, however, I want to delete the 7 lines above current line, what shoudl I do?

There is my thought, default + is following, - is above, So, I tried d-7d and -7dd, but failed.

So, In the end, I made a compromise, 7k + 7dd to delete the next 7 lines, it's really stupid.

After that, I thought a good idea, using vim visual mode. shift + v + 7k, then x, It sounds better.

BTW, does there have other faster way ?
PS. I'm a perfectionist, I'll appreciate your reply.

SUMMARY:
d7k is the shortest solution.

pingsoli
  • 427
  • 4
  • 11

0 Answers0