The definition of "easiest" depends on what do you have, and what do you want to do
if you have a start line number and end number, e.g.
:2349,5344d a
is the easiest way.
You don't have to consider the questions like
"where is my cursor?"
"how many lines would be removed?" ...
If you are about to remove a small amount of lines, particularly they are on same screen. (You could use relative-linenumber.) for example:
"a5dd
but you have to move your cursor to the first line you want to delete. And this could be done by option 1 too:5:d a<CR>
(vim will automatically translate it into.,.+5d a<CR>
)If you just know the 1st line of deletion, and find the last line you want to delete by reading your text, (of course, small amount of lines) you could press
V
, and pressj
by reading, when it reaches the deletion ending border, press"ad
If the "range" in your question is the "range" concept in vim, The first option would be better. since it could be
234,540
, it could be1;/foo
,/foo/,/bar/
...:h range
see detail
so back to the first sentence in my answer, There is no absolutely easiest way. It all depends on what do you have, and what do you want to do.