是否有可能实现所谓的“无干扰模式”?在维姆?

发布于 2024-12-21 03:42:47 字数 172 浏览 7 评论 0原文

只是好奇,有点像 sublime text 等编辑器的“无干扰模式”,是否可能将所有文本质心到视场的中间?使用宽屏显示器在全屏模式下盯着 vim 终端的最左端总是很烦人。

Just curious, kinda like the "distraction free mode" of editors like sublime text, is it possible to centroid all the text to the middle of view field? It's always annoying to stare at the left-most end of the vim terminal in fullscreen mode with a widescreen monitor.

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

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

发布评论

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

评论(2

骄兵必败 2024-12-28 03:42:47

你可以看看 VimRoom:
http://projects.mikewest.org/vimroom/

或者,你可以将 Vim 设置为宽屏上有两个或多个垂直窗口,并且具有相同的缓冲区,它们之间会自动“蛇行”。允许您一次在屏幕上看到两倍或三倍的缓冲区。请参阅此处了解该选项:
使用垂直分割的 vim 自动滚动分页

You could take a look at VimRoom:
http://projects.mikewest.org/vimroom/

Alternatively, you could set Vim up to have two or more vertical windows on your widescreen and have the same buffer automatically "snake" between them. Allows you to see two or three times as much of your buffer on the screen at once. See here for that option:
auto-scrollable pagination with vim using vertical split

韶华倾负 2024-12-28 03:42:47

尝试使用 autohotkey 来控制 Windows 热键按下和 gui

这是我的 autohotkey 脚本,用于启动 Gvim

    SetTitleMatchMode, 2 ;set ahk title mode
    run C:\Program Files (x86)\Vim\vim73\gvim.exe ;lauch gvim
    winactivate, No Name ; active this window
    sleep, 500 ; sleep 500ms
    WinSet, Style, -0xC00000, [Vim default title] ;hide title bar
    WinSet, Transparent, 200, [Vim default title] ;make vim backgroup Transparent

try autohotkey which use to control windows hotkey press and gui

this is my autohotkey script which use to lauch Gvim

    SetTitleMatchMode, 2 ;set ahk title mode
    run C:\Program Files (x86)\Vim\vim73\gvim.exe ;lauch gvim
    winactivate, No Name ; active this window
    sleep, 500 ; sleep 500ms
    WinSet, Style, -0xC00000, [Vim default title] ;hide title bar
    WinSet, Transparent, 200, [Vim default title] ;make vim backgroup Transparent
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文