LoginSignup
5
5

More than 5 years have passed since last update.

現在桁をハイライトする: col-highlight.el

Posted at

Emacsではインデントが分かりづらいことがあるので、現在桁をハイライトしてくれるcol-highlight.elをいれました。

M-x auto-install-batch column-marker

下記を設定ファイルに追加します。

~/.emacs.d/init.el
;;; col-highlight.el
(require 'col-highlight)

必要な時にM-x column-highlight-modeをします。

常にハイライトしたい場合は下記を設定ファイルに追加するとできます。

~/.emacs.d/init.el
(column-highlight-mode 1)

また、下記の様にすると5秒間何もしないでいるとハイライトするようにすることもできます。

~/.emacs.d/init.el
(toggle-highlight-column-when-idle 1)
(col-highlight-set-interval 6)

よくHTMLを編集していて

の閉じ忘れで体裁が崩れたり苦労することがよくあるのですがそのような時に重宝しそうです。
5
5
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
5
5