title: Contextual keymaps in Rider
body: <p>Is it possible to create contextual keymaps (shortcuts) in Rider?</p>
  <p>For example, in VS, <code>F5</code> is the shortcut for &quot;run in debug mode&quot;. Then if you put a breakpoint and it hits, while you're in the debug mode, <code>F5</code> will let go and &quot;resume&quot; the execution of the app.</p>
  <p>But in Rider it seems like I can't accomplish this - I don't see a way to map <code>F5</code> to &quot;Resume&quot; only when I'm attached to the application process. If I map both &quot;Run in debug mode&quot; and &quot;Resume&quot; to <code>F5</code> in keymappings, and the breakpoint hits, if I press <code>F5</code> to resume, it will instead stop the process, rebuild, run and attach again.</p>
  <p>I checked how they envisioned this to work, and they actually mapped <code>Alt + F5</code> to &quot;run in debug mode&quot; and <code>F5</code> to &quot;resume&quot;. But I'd prefer it if I could avoid the <code>Alt</code> bit.</p>
  <p>Is what I'm looking for possible with Rider, and if so - how?</p>
  <p>Thank you.</p>