Disable 'magic' Zsh bindings to avoid painfully slow pasting
This commit is contained in:
parent
09d28eaae4
commit
3cb0586a49
1 changed files with 0 additions and 11 deletions
|
@ -23,17 +23,6 @@ autoload fancy-ctrl-z
|
||||||
zle -N fancy-ctrl-z
|
zle -N fancy-ctrl-z
|
||||||
bindkey '^Z' fancy-ctrl-z
|
bindkey '^Z' fancy-ctrl-z
|
||||||
|
|
||||||
# Allow for magic such as url-quote-magic to apply when your terminal supports
|
|
||||||
# bracketed paste.
|
|
||||||
autoload -Uz bracketed-paste-magic
|
|
||||||
zle -N bracketed-paste bracketed-paste-magic
|
|
||||||
|
|
||||||
# url-quote-magic will automatically quote special chars in URLs pasted into
|
|
||||||
# the terminal.
|
|
||||||
autoload -Uz url-quote-magic
|
|
||||||
url-quote-magic-with-highlight() { url-quote-magic; _zsh_highlight }
|
|
||||||
zle -N self-insert url-quote-magic-with-highlight
|
|
||||||
|
|
||||||
__fzf-z() {
|
__fzf-z() {
|
||||||
z -l | tac | cut -c 12- | fzf --preview 'tree -FCL 2 {}'
|
z -l | tac | cut -c 12- | fzf --preview 'tree -FCL 2 {}'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue