[Linux-disciples] Editing just the last N lines in vim

Stephen R Laniel steve at laniels.org
Wed Jan 4 11:38:23 EST 2006


I have a very large file that I'd like to edit in vim, but
most of the time I only want to edit the last few lines.
Normally I do this like so:

tail -n 10000 filename > ~/tail_file
vim !$

Is there any way to do this without creating the tail_file?
Somehow force vim to only modify a fixed range of lines? 

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060104/01fc5d61/attachment.pgp


More information about the Linux-disciples mailing list