removed gdefault for search and replace, added paste mode toggle