iTerm2—How to disable close session shortcut command + d iTerm2 > Preferences > Keys > + Keyboad shorcut: Command + D Action: ignore cf. macos - Iterm2 disable Command shortcuts - Ask Different