3

The minor mode global-hl-line highlights the current line "permanently" (until it is disabled).

Instead, I would prefer a command which highlights the current line for, say, one second.

Has anybody done this?

5
  • You can use command flash-line-highlight (e.g., bind it to a key) to highlight the current line for line-show-period seconds (which you can customize). This is in library hl-line+.el. See Highlight Current Line.

  • If you want to highlight both the line and the column temporarily then you can use command flash-crosshairs (bind it to a key). This is in library crosshairs.el. See Crosshair Highlighting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.