LoginSignup
3
3

More than 5 years have passed since last update.

正規表現にマッチした部分を自動ハイライトする: highlight-regexp

Last updated at Posted at 2012-08-08

highlight-regexpを使えば、ソースを読んでいるときなど特定のキーワードに注目したいときに色をつけることができます。

標準の機能なので特にインストールは不要です。下記で実行します。

M-x highlight-regexp

キーワードの入力が求められるので、色をつけたいキーワードを正規表現で入力します。次に背景色を指定することができます。hl-色もしくはhl-色-bという形式で指定します。

3
3
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
3
3