In terminal I use escB or escF to jump through the words.

If I want 2x back I've to do escB twice. Otherwise I just start typing F or B in Terminal.

The modifier keys ctrl / alt /cmd work differently e.g. I can hit control and than hit AAA EEEE multiple times without a need to release control button. So go to end of line twice would be ctrlEE and this would work (don't mind the fact that this is pointless end of line is end of line)

Is there a way to achieve same with esc modifier?

  • 1
    esc is not a modifier but an actual key so you are doing esc then b not esc and b at the same time. alt + b is alt and b at the same time
    – mmmmmm
    Commented Jun 11, 2016 at 18:32
  • @Mark so how do I make it work like a modifier? :)
    – user15322
    Commented Jun 11, 2016 at 18:56
  • 1
    You can't it is a key sending a character just like the key X
    – mmmmmm
    Commented Jun 11, 2016 at 19:54
  • @Mark never mind I found solution, terminal esc can be remapped to alt
    – user15322
    Commented Jun 12, 2016 at 8:32
  • @SandroDzneladze In my opinion you can modify every key to behave like a modifier key (with Karabiner). Which editor do you use? E.g. in nano esc-b/f don't allow you to jump to the previous or the next word.
    – klanomath
    Commented Jun 12, 2016 at 10:19

1 Answer 1


enter image description here

selecting Use option as meta key allows alt/option to be used instead of esc.

You must log in to answer this question.