Using Ctrl+R reverse lookup, I have found a long command that I need:
scp .oh-my-zsh/custom/themes/robbyrussell_modifiedprompt.zsh-theme pi@192.168.43.220:.oh-my-zsh/custom/themes/robbyrussell_modifiedprompt.zsh-theme
but I need to change the ip address in the middle of it. Is there a way to move the cursor to the beginning of the ip address?