cmder search histroy

C++
Press "Ctrl" + "r" and then type your substring to search in your history.
Last matching command line will be found, keep using "Ctrl" + "r" to find
previous ones. Once you find your searched command just press "Enter":
(reverse-i-search)`searched_substring': command_with_searched_substring
Source

Also in C++: