title: Which keybind for smart-searching in history with ZSH?
body: <p>When using the up and down arrow in my terminal (<code>iTerm 2</code> on <code>Mac OS Catalina</code>), I can browse through my last commands using the up and down arrows.</p>
  
  <p>I use <code>ZSH</code> (<code>Oh-my-zsh</code> to be precise) and if I type e.g. <code>vim</code> then press up, it will browse my history for any commands issued starting with <code>vim</code>. </p>
  
  <p>I think it's annoying to have to move my hand to the arrow keys, so i wanted to bind <code>ctrl-j</code> and <code>ctrl-k</code> for browsing up and down. </p>
  
  <p>I looked at <code>bindkey</code> and bound <code>^j</code> to <code>down-history</code> and <code>^k</code> to <code>up-history</code>. This allows me to  browse my history, but not with the "smart" functionality (i'm not sure of the right terminology here) - It simply goes up and down in my history, without regards to my input.</p>
  
  <p>I've looked through <a href="http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Standard-Widgets" rel="nofollow noreferrer">the standard widgets</a> on the <code>Zsh Line Editor</code> manual, but I cannot find the right command for this. </p>
  
  <p>Which command should I bind <code>^j</code> and <code>^k</code> to to get my desired result?</p>