title: Create vim function that reads a single key
body: <p>How can I make a vim function wait for a single key press?</p>
  
  <p>Example:</p>
  
  <ul>
  <li>create a function NextOccur that is mapped to execute when key <code>f</code> is pressed</li>
  <li>when <code>f</code> is pressed nothing should help right away</li>
  <li>after the next key (let's say <code>x</code>) is pressed, the cursor should move to the next ocurrence of <code>x</code></li>
  </ul>
  
  <blockquote>
    <p>PS: Yes, I know that's exactly what <code>f</code> does by default (although its only linewise), but I was wondering if WE could implement functionality like this, ourselves</p>
  </blockquote>
  
  <p>What if I want to wait for the next two keypresses, is that also possible?</p>