3 ms·
The equivalent in Emacs mode (the bash default) is Ctrl+]. Alt+<number> followed by that goes to that <number> occurrence of the character, so "Alt+4 Ctrl+] c"
by mikelward 10y ago
The equivalent in Emacs mode (the bash default) is Ctrl+].
Alt+<number> followed by that goes to that <number> occurrence of the character, so "Alt+4 Ctrl+] c" would go to the 4th c. Ctrl+Alt+] searches backwards in the same way.
But I find just about anything better.
!!:s/contact/index/
^contact^index
alias r='fc -e - --' # if not already present
r contact=index
or if you know ahead of time, do them both together
rsync ~/20160604/apache-tomcat-7.0.63/webapps/ROOT/{contact,index}.html