computer-setup terminal key modifiers in settings -> keyboar -> shortcuts, turn off all mission control shortcuts in iterm2 preferences -> profiles -> keys, click 'presets' select and choose natural text editing