improve the Grep commands

allowed to grep using the last search or the word under the cursor