You can also use Esc instead or Ctrl-[, and f to go forward.
Iterm natural text editing how to#
I don't know how to improve the situation, but now it's known.)Ĭtrl-[ b jumps back a word. Simply navigate to Preferences > Profile > Keys and select the Natural Text Editing option. To remove this you can add the line DEFAULTUSER (whoami) to /.zshrc. This will make your prompt rather bloated.
I should have added the extra information in comments or suggested edits on that answer. The smart developers from iTerm2 quickly realized that the community wanted to use the natural keyboard functionality without much of a configuration and therefore added the Natural option by default. To enable these, go to iTerm Preferences Profiles Keys Presets Natural Text Editing Boom Head explodes Custom prompt styles By default, your prompt will now show email protected in the prompt. Paste bracketing is turned on or off by a. (I don't remember for sure, but I think I copied this answer from jherran's answer below and added more to it. This allows a program like a text editor not to auto-indent pasted text, since it might already contain indents.