Using this plugin with iTerm2
johnhamelink opened this issue · 5 comments
Hi there,
I just wanted to leave a note to let you know how to use this plugin with Iterm2:
Cmd + ,
to enter preferences- Go to Profiles, select your profile from the pane on the left hand side, then go to the
keys
tab. - Set
Left Option (⌥) Key
toEsc+
If you don't set things this way, alt+j
will create a ∆
symbol.
That's all!
Wanna do a PR for the README?
I tried the exact steps here in iTerm2, but I still get a ∆
symbol. I still can't get the alt/option+j
to work in iTerm2. Are there any other steps that I might be missing?
TBQH that's probably an issue with either your keyboard, or your iterm config.
I think stackoverflow might give you a better help on that than we can: https://stackoverflow.com/questions/196357/making-iterm-to-translate-meta-key-in-the-same-way-as-in-other-oses
An alternative is to map it not to meta + j
but to something else, like ctrl + j
:
bindkey `^j` jq-complete
An alternative is to map it not to
meta + j
but to something else, likectrl + j
:bindkey `^j` jq-complete
Thanks, that works. Not sure why meta + j
doesn't work for me. Probably something in my config, like you mentioned.