How to vim current line to end of file command

To run a command in vim from the current line till the end of the file you do the following

.,$d
.,${command here}
.,$y

Comments

Unknown said…
* We can also use
"goto last line of file command"
i.e G
e.g delete from current line to end of file
'dG'

Popular posts from this blog

Vim vi how to reload a file your editing