Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed slow paste issue with zsh-syntax-highlighting plugin #28

Merged
merged 2 commits into from
Jun 13, 2019

Conversation

flakrat
Copy link
Owner

@flakrat flakrat commented Jun 13, 2019

Reference: zsh-users/zsh-syntax-highlighting#513

Without ZSH_HIGHLIGHT_MAXLENGTH=20 in ~/.zshrc, pasting multiline
blocks of code to the terminal was crazy slow.

I set it to 20 characters for no other reason than that's what popped
into my head.

On branch fix-slow-paste-with-syntax-highlight-enabled

  • Changes to be committed:
    • modified: home/.zshrc

flakrat added 2 commits June 13, 2019 15:54
Reference: zsh-users/zsh-syntax-highlighting#513

Without `ZSH_HIGHLIGHT_MAXLENGTH=20` in `~/.zshrc`, pasting multiline
blocks of code to the terminal was crazy slow.

I set it to 20 characters for no other reason than that's what popped
into my head.

On branch fix-slow-paste-with-syntax-highlight-enabled

- Changes to be committed:
  -	modified:   home/.zshrc
@flakrat flakrat merged commit ad08f78 into master Jun 13, 2019
@flakrat flakrat deleted the fix-slow-paste-with-syntax-highlight-enabled branch June 13, 2019 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant