From 3cb0586a49209d064e737f31f42cd679aefe62b1 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 18 Sep 2023 15:34:06 +1000 Subject: [PATCH] Disable 'magic' Zsh bindings to avoid painfully slow pasting --- config/zsh/interactive/bindings | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config/zsh/interactive/bindings b/config/zsh/interactive/bindings index 568f766..9b22c08 100644 --- a/config/zsh/interactive/bindings +++ b/config/zsh/interactive/bindings @@ -23,17 +23,6 @@ autoload fancy-ctrl-z zle -N 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() { z -l | tac | cut -c 12- | fzf --preview 'tree -FCL 2 {}' }