You can use <C-r><C-w> to insert the word under the cursor in the command-line. You can use <C-r>/ t oinsert the latest search pattern. You can use <C-w> to delete the word on the left or <C-u> to delete everything you already entered. You can use // and ?? to reuse the latest pattern.