Replace getcurpos with getpos to support older Vim
Merge pull request #504 from wilywampa/develop

Replace getcurpos with getpos to support older Vim