Added beginning and end of line keybinds.

home goes to the bol. end goes eol.
This commit is contained in:
James Patrick 2019-08-08 22:08:16 -04:00
parent 439f070b94
commit 1f955542e0
1 changed files with 7 additions and 0 deletions

View File

@ -4,3 +4,10 @@ bindkey '^ ' autosuggest-accept
# Open command in $EDITOR
bindkey '^E' edit-command-line
bindkey -M vicmd "v" edit-command-line
# Start of line
bindkey '^[[1~' beginning-of-line
bindkey -M vicmd '^[[1~' beginning-of-line
# End of line
bindkey '^[[4~' end-of-line
bindkey -M vicmd '^[[4~' end-of-line