1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -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 bindkey "${key_info[End]}" end-of-line
fi fi
bindkey "${key_info[Control]}A" beginning-of-line
bindkey "${key_info[Control]}E" end-of-line
if [[ -n "${key_info[PageUp]}" ]]; then if [[ -n "${key_info[PageUp]}" ]]; then
bindkey "${key_info[PageUp]}" up-line-or-history bindkey "${key_info[PageUp]}" up-line-or-history
fi fi