In vim, if I am in search mode by pressing /
, I can press Ctrl
+p
to find my last searched string, and press that combination again to find an even earlier searched string, and so on. I can do the same on commandline in emacs mode.
I want to do the same with less
command (i.e., press /
, and then press Ctrl
+p
to find what I searched for previously, and then press Enter
to search that term again. Can I do that? How can I do that?
Edit: reworded to make the question clearer.
?
is the key to search backwards in less – Solis