add alt-n commands to (replace|append) previous match

Note: alt-n command were used to replace main selection with next match
      (preserving the others)