Created
March 1, 2011 15:26
-
-
Save liwh/849291 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| when we use zsh ,we may get some problem on the keybord shortcuts.for example ,the shortcuts ctrl+a is going the head of a line ,but in zsh ,it is not occured! so we must change the bindkey. | |
| ~ ❯ bindkey | |
| "^A"-"^C" self-insert | |
| "^D" list-choices | |
| "^E"-"^F" self-insert | |
| "^G" list-expand | |
| "^H" vi-backward-delete-char | |
| "^I" expand-or-complete | |
| "^J" accept-line | |
| "^K" self-insert | |
| "^L" clear-screen | |
| "^M" accept-line | |
| "^N"-"^P" self-insert | |
| "^Q" vi-quoted-insert | |
| "^R" redisplay | |
| "^S"-"^T" self-insert | |
| "^U" vi-kill-line | |
| "^V" vi-quoted-insert | |
| "^W" vi-backward-kill-word | |
| "^X"-"^Z" self-insert | |
| "^[" vi-cmd-mode | |
| "^[OA" up-line-or-history | |
| "^[OB" down-line-or-history | |
| "^[OC" vi-forward-char | |
| "^[OD" vi-backward-char | |
| "^[[A" up-line-or-history | |
| "^[[B" down-line-or-history | |
| "^[[C" vi-forward-char | |
| "^[[D" vi-backward-char | |
| "^\\\\"-"~" self-insert | |
| "^?" vi-backward-delete-char | |
| "\M-^@"-"\M-^?" self-insert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In our shells we use set -o emacs to get ^ a and other emacs shortcuts.
Does doing that solve your problem?