Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • 1.1.0
  • 1.0.0
  • 0.4.0
  • 0.3.1
  • 0.3.0
  • 0.2.1
  • 0.2.0
  • 0.1.0
9 results

lin

  • Clone with SSH
  • Clone with HTTPS
  • Lin

    Lin is a stylistic enhancement for Emacs' built-in hl-line-mode. It remaps the hl-line face (or equivalent) buffer-locally to a style that is optimal for major modes where line selection is the primary mode of interaction.

    The idea is that hl-line-mode cannot work equally well for contexts with competing priorities: (i) line selection, or (ii) simple line highlight. In the former case, the current line needs to be made prominent because it carries a specific meaning of some significance in the given context: the user has to select a line. Whereas in the latter case, the primary mode of interaction does not revolve around the line highlight itself: it may be because the focus is on editing text or reading through the buffer's contents, so the current line highlight is more of a reminder of the point's location on the vertical axis.