更改Emacs或Vim中活动缓冲区/窗格的背景颜色 [英] Changing the background color of the active buffer/pane in Emacs or Vim

查看:168
本文介绍了更改Emacs或Vim中活动缓冲区/窗格的背景颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常在30监视器上使用Vim和Emacs进行全屏,这意味着我倾向于有很多分裂。活动窗格的模型改变了Vim和Emacs的背景,但有时候这不是一个容易看到的活动指标



有没有办法更改活动窗格的背景颜色,所以我可以轻松地看到我目前在哪个拆分? p>

Vim或Emacs解决方案将会很好。

解决方案

您的活动模式行的颜色?

  Mx自定义面部RET模式行

将背景更改为红色,将前景更改为白色,除了活动之外,您将无法专注于其他任何内容缓冲区:)


I usually work fullscreen with Vim and Emacs on a 30" monitor which means I tend to have a lot of splits. The active pane's modeline changes background in Vim and Emacs, but sometimes that's not an easy to see indicator of the active pane.

Is there a way to change the background color of the active pane so I can easily, at a glance, see what split I'm currently in?

Either Vim or Emacs solution would be fine.

解决方案

How about customizing the color of your active mode-line?

M-x customize-face RET mode-line 

Change the background to "red" and the foreground to "white", and you won't be able to focus on anything else except you active buffer:)

这篇关于更改Emacs或Vim中活动缓冲区/窗格的背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆