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?
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?
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.