Disable command-enter keyboard shortcut in iTerm2
In iTerm, go to Preferences > Keys, and click the + button at the bottom of the list. There, you can add a new keyboard shortcut for ⌘+↩︎, which will by default be ignored.