Skip to content

Commit

Permalink
Fix delay when pasting long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeemil committed Mar 5, 2019
1 parent 6110760 commit 0355707
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ fi
# BE AWARE: MUST BE LOADED LAST
if [ -f "$ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh" ]; then
plugins+=(zsh-syntax-highlighting)
# Due to the following issue:
# https://github.com/zsh-users/zsh-syntax-highlighting/issues/295
# Syntax highlighting is really slow when pasting long text. This speeds it
# up to just a slight delay
zstyle ':bracketed-paste-magic' active-widgets '.self-*'
fi
# ╻ ┏━┓┏━┓╺┳┓ ┏━┓╻ ╻ ┏┳┓╻ ╻ ╺━┓┏━┓╻ ╻
# ┃ ┃ ┃┣━┫ ┃┃ ┃ ┃┣━┫╺━╸┃┃┃┗┳┛╺━╸┏━┛┗━┓┣━┫
Expand Down

0 comments on commit 0355707

Please sign in to comment.