1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00

Add Control+A and Control+E shortcuts

Add Control+A and Control+E shortcuts for beginning of line and end of line.
This commit is contained in:
Máté Hajzsó 2017-09-29 14:38:24 +01:00 committed by GitHub
parent a4f6b757be
commit 50db2a9049

View file

@ -61,6 +61,9 @@ if [[ -n "${key_info[End]}" ]]; then
bindkey "${key_info[End]}" end-of-line
fi
bindkey "${key_info[Control]}A" beginning-of-line
bindkey "${key_info[Control]}E" end-of-line
if [[ -n "${key_info[PageUp]}" ]]; then
bindkey "${key_info[PageUp]}" up-line-or-history
fi