mrmrs / vimgifs

http://vimgifs.com
116 stars 16 forks source link

Opening files on the specified line #9

Closed wmonk closed 8 years ago

wmonk commented 8 years ago

Hi!

Firstly vimgifs is awesome! I'd been following some of your vim guides under the writing section on your site. :r is my new favourite!

If you do vim ~/dir/file.js +54 it'll open with the cursor on line 54. It seems that a standard way of describing file lines is like ~/dir/file.js:54, but vim doesn't understand that. I'd like vim to be able to interpret :54 like +54.

Hope that makes sense now!

Will

There is a plugin that enables this behaviour, but thought i'd leave the question for reference 😄

mrmrs commented 8 years ago

Ah thanks - understand now. Glad you found an answer so quickly!