Also restore last search pattern in operator mode,

if no change command has been used
also reset search history in pending-operator mode, when not using the c operator
Merge branch 'master' of github.com:chrisbra/improvedft