Iterm2 disable Command shortcuts
You'll want to override iTerm's default shortcuts with your own shortcuts to "Ignore".

Go to Preferences &gt; Key and press the + button at the bottom of the Global Shortcut Keys:



Then add an entry for Cmd+K and choose "Ignore" for the action:



This disables Cmd+K.