Cygwin is default to the same key bindings as in Emacs. To change it to Vi key bindings, run
set -o vi.
| Desired Action | Shortcut Keys |
| Auto Complete | [Tab] |
| Move to Beginning of Line | [Ctrl]a |
| Move to End of Line | [Ctrl]e |
| Clear Screen | [Ctrl]l that's L |
| Clear Line before cursor | [Ctrl]u |
| Clear Line after cursor | [Ctrl]k |
| Clear Word before cursor | [Ctrl]w |
| Clear Word after cursor | [Alt]d |
| Yank/Paste from Clipboard | [Ctrl]y |
| Capitalize Current Word | [Alt]u |
| Change Current Word to Lower Case | [Alt]l |
| Capitalize First Letter | [Alt]c |
| Cancel Changes and Restore the Line as in History | [Alt]r |
No comments:
Post a Comment