ZEN模式Visual Studio代码—仅突出显示当前功能并模糊其余功能

发布于 2025-01-25 16:02:08 字数 361 浏览 3 评论 0原文

有一个用于VIM的插件,它会模糊当前文件中的所有内容,除了您的光标符合或主体中的功能。我已经搜索了描述这一点的所有查询组合,并通过我旧的vimrcs的git提交进行了查看,但在任何地方都找不到!

如果您向下滚动或进入另一个功能/身体,它将“揭示”它并模糊其他所有内容。它也将以水平边缘为中心。

无论如何,是否有可以实现此目标的ZEN模式或插件的编辑?如果不是模糊的效果,那么是否有一种方法可以限制一个数字可见的字符?

本文。

There was a plugin for vim that would blur out everything in the current file except for the function your cursor was on or in the body of. I've googled every combo of query that describes that and looked through git commits of my old vimrcs but can't find it anywhere!

If you would scroll down or up into another function/body it will "reveal" that and blur everything else. It would also center with horizontal margin.

Regardless, is there an edit to zen mode or a plugin that could achieve this? And if not the blur effect, then is there a way to limit the characters visible to a number?

Something like the image halfway down in this article.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忆梦 2025-02-01 16:02:08

最后找到答案:这是两个VIM插件的组合,goyo.vimvim-zenroom2。激活时,这就是它的样子:

”极简主义VIM聚焦模式Goyo

Finally found the answer: it's a combination of two vim plugins, goyo.vim and vim-zenroom2. When activated this is what it looks like:

minimalist vim focused mode goyo zenroom

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文