I’m doing a lot of text manipulation between multiple files that requires a lot of yy, dd and ping. This may sound crazy but is there some shorter way of doing dd and p in one go? Maybe even with a plugin?
I’m doing a lot of text manipulation between multiple files that requires a lot
Share
You can just make a map:
and then J (or whatever you want) will do the combined operation.
Incidentally, I always map D to
dd, since I delete entire lines much more often than to the end of the line. That makes it easy to use Dp to do your task.