Topic: https://brettterpstra.com/2011/08/12/option-arrow-navigation-in-iterm2/
hide preview

What's next? verify your email address for reply notifications!

unverified 4y, 63d ago

If you are comfortable with vim:

set -o vi

will do the trick

https://superuser.com/questions/1360220/is-it-possible-to-use-vim-key-bindings-in-iterm2

hide preview

What's next? verify your email address for reply notifications!

David Becerra 12y, 233d ago

Thanks, Brett. This worked great!

hide preview

What's next? verify your email address for reply notifications!

Suan 13y, 127d ago

Thanks a lot for this! Its the only thing I've found that works while using vim in Lion with iterm2. (I didn't have to change the option keys to use "+Esc", leaving them as "normal" worked fine)

hide preview

What's next? verify your email address for reply notifications!

mt 13y, 221d ago

Scott's screenshot worked for me. Brett's version didn't.

remark link
hide preview

What's next? verify your email address for reply notifications!

ttscoff 13y, 221d ago

Interesting. Not sure what's odd about my setup.

Did you have to edit your .inputrc as well, or does it work without that?

remark link parent
hide preview

What's next? verify your email address for reply notifications!

Ian 12y, 329d ago

I didn't need the .inputrc step, but I did need to change my profile screen as well to set 'left option/right option act as +Esc' on the profile's key tab, as well as Scott's screenshot (which involved mapping Esc sequences to shortcuts).

hide preview

What's next? verify your email address for reply notifications!

Chris 13y, 218d ago

Both versions worked for me, so you may not be the "odd" one, Brett. :)

hide preview

What's next? verify your email address for reply notifications!

Scott Lee 13y, 221d ago

I too had the same request. For the life of me I cannot remember how I found the solution. But here's a screenshot of my iTerm key settings (http://cl.ly/3N2t2i2C0G2I1F.... I accomplished the same thing by sending Escape+F and Escape+B.

remark link
hide preview

What's next? verify your email address for reply notifications!

Dan 12y, 300d ago

This worked for me, too.

It's odd that option-arrow doesn't work by default.

hide preview

What's next? verify your email address for reply notifications!