Support for range :select
command
#4696
Unanswered
gavynriebau
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would find it useful if I was able to select ranges of lines using a command
:select
(or:sel
for short) so that I can start editing them, here's an example of how I am picturing it would work::sel 1-10
- Select lines 1 to 10 (inclusive):sel 1-5,7-8
- Select lines 1 to 5 and 7 to 8:sel 7-$
- Select from lines 7 to the end of the fileFor example to delete all but a small middle section of a large log file one could do
:sel 1-856,900-$
followed byd
.Beta Was this translation helpful? Give feedback.
All reactions