DEV Community

Discussion on: What Did You Learn This Week --April 10?

Collapse
 
waylonwalker profile image
Waylon Walker

ooh ooh, please share! I love a good vim tip.

Collapse
 
chrisf1031 profile image
Chris Ford

Well one is being able to launch a vim file on a specific line number. E.g.
$vim +100
This will launch the file on line 100. This may be common knowledge, but i was excited to learn it. :)

Thread Thread
 
waylonwalker profile image
Waylon Walker

I had no idea. I can tell you that many times I run something and see line 100 in the stack trace, then open the file and type 100gg. This would be handy in times where I need to continuously go back into the same file. Thanks for sharing.