Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After I installed zsh in OSX through macports, all kind of shortcuts like fn+right/left (which is alternative to END key, i've got a mini-apple keyboard), stops working.

Anybody knows how to enable all fn (and possibly cmd) shortcuts?

share|improve this question
add comment

1 Answer 1

Thank you for your freaking great help superuser..com..

Answering myself:

enter cat command in terminal, and press shortcut which is lacking.. for example I was searching for fn+left arrow and fn+right arrow, then you will get binding to this shortcut, which I entered to ~/.zshrc then do . ~/.zshrc. in zsh man pages you'll find all the functions you can bind.

  bindkey "^[[H" beginning-of-line
  bindkey "^[[F" end-of-line
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.