[ACCEPTED]-bindkey with zsh on Mac-zshrc
Accepted answer
Open a shell and try pressing Ctrl-v and 5 then the key you want to bind (eg. Home) This 4 is the key sequence you should use with 3 bindkey.
My bindings for Home/End (start/end 2 of line) on Snow Leopard:
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
Still trying to 1 bind cmd-left though ...
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.