Lokaltog/vim-easymotion — pull request #36 by tmhedberg (2011-11-23 17:00:49+00:00)
Title: Update jumplist when moving cursor

EasyMotion moves the cursor using Vim's `cursor()` function, but this does not update the jumplist, which means that after jumping to a different location with EasyMotion, you can't restore the previous position with ``.

This patch manually adds the current position to the jumplist before calling `cursor()` by setting the ``'` `` mark. It will restore the previous position of the mark if the EasyMotion movement is canceled.