improve m motion in internal mode
Merge pull request #744 from my-personal-forks/fix-723-marks

improve m motion in internal mode