fix #720 - n and N take into account the last search command's direction
Merge pull request #781 from my-personal-forks/fix-720-n-and-N

fix #720 - n and N take into account the last search command's direction