loading...

re: What Did You Learn This Week --April 10? VIEW POST

FULL DISCUSSION
 

I learned some nifty, quality of life tricks for vim.

 

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

 

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. :)

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.

code of conduct - report abuse