网站备案 主体黑名单,国外企业邮箱推荐,如果做公司网站,西安北郊网站建设公司因为安装了某些zsh插件导致#xff0c;在zsh命令行中粘贴文本非常卡顿#xff0c;解决方案就是把下面的代码复制到 ~/.zshrc 文件中#xff1a;
pasteinit() {OLD_SELF_INSERT${${(s.:.)widgets[self-insert]}[2,3]}zle -N self-insert url-quote-magic # I wonder if youd…因为安装了某些zsh插件导致在zsh命令行中粘贴文本非常卡顿解决方案就是把下面的代码复制到 ~/.zshrc 文件中
pasteinit() {OLD_SELF_INSERT${${(s.:.)widgets[self-insert]}[2,3]}zle -N self-insert url-quote-magic # I wonder if youd need .url-quote-magic?
}pastefinish() {zle -N self-insert $OLD_SELF_INSERT
}
zstyle :bracketed-paste-magic paste-init pasteinit
zstyle :bracketed-paste-magic paste-finish pastefinish保存退出后执行
source ~/.zshrc