gioele / vim-autoswap

Please Vim, stop with these swap file messages. Just switch to the correct window!
Creative Commons Zero v1.0 Universal
115 stars 25 forks source link

Line numbers not respected #2

Open gioele opened 9 years ago

gioele commented 9 years ago

If vim is asked to open an already opened file at a certain line number, it will focus the editor where the file is being edited, but not at the correct line.

To reproduce:

$ printf "a\nb\nc\nd" > /tmp/foo
$ vim /tmp/foo
$ vim +4 /tmp/foo # should focus the fourth line but it will not