feat(keyboard): Use paste and quote magic
Use both bracketed-paste-magic and url-quote-magic to make pasting urls into the terminal a little nicer. NOTE: In rare cases this can break things, and will slow down pasting.
This commit is contained in:
parent
cd0ec0c563
commit
2ad568db03
2
keyboard
2
keyboard
|
|
@ -15,6 +15,8 @@ zle -N history-beginning-search-backward-end \
|
|||
history-search-end
|
||||
zle -N history-beginning-search-forward-end \
|
||||
history-search-end
|
||||
zle -N bracketed-paste bracketed-paste-magic
|
||||
zle -N self-insert url-quote-magic
|
||||
|
||||
[[ -n "${key[Home]}" ]] && bindkey "${key[Home]}" beginning-of-line
|
||||
[[ -n "${key[End]}" ]] && bindkey "${key[End]}" end-of-line
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user