# Agent mode via \<enter\> vs \<cmd-enter\>

**URL:** <https://forum.cursor.com/t/agent-mode-via-enter-vs-cmd-enter/114928>\
**Category:** Feature Requests\
**Created:** [July 7, 2025, 11:58pm UTC](https://forum.cursor.com/t/agent-mode-via-enter-vs-cmd-enter/114928 "2025-07-07T23:58:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@charles](https://forum.cursor.com/u/charles)\
**Post date:** [July 7, 2025, 11:58pm UTC](https://forum.cursor.com/t/agent-mode-via-enter-vs-cmd-enter/114928/1 "2025-07-07T23:58:02Z")

</div>

When dealing with an agent I’d love to define two different submission semantics.

Specifically allow me to map enter/submit to an agent mode such that:

→ Custom Mode  
 → Agent

So that when Im talking to the agent and I dont want it messing about with my files I can just hit enter like normal but have it run a custom mode without editor access, but when I want it to do a real edit, I can just hit cmd-enter and have it fly away.

Would be oh so much faster/easier than having to use the pulldown menu to switch modes.
