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:
parent
a4f6b757be
commit
50db2a9049
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue