LoginSignup
1
0

More than 5 years have passed since last update.

mode-lineの一部に色などを付ける方法

Last updated at Posted at 2015-07-03

mode-lineのバッファ名などにmode-lineフェイスの指定とは別の色を付けたいと思い、マニュアルを見てもなんだかよくわからなくて試行錯誤したら出来たのでメモ。例としてバッファ名について。

(setq-default mode-line-buffer-identification
      `(,(propertize "%b" 'face '(:foreground "orange"))))

世の中の潮流はpowerline.elを使うようですが、そんな大げさにしなくてもと思ったのでこれで。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0