Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tom-tan/hlinum-mode
This library extends linum-mode to highlight current line number.
https://github.com/tom-tan/hlinum-mode
emacs emacs-lisp linum
Last synced: 3 months ago
JSON representation
This library extends linum-mode to highlight current line number.
- Host: GitHub
- URL: https://github.com/tom-tan/hlinum-mode
- Owner: tom-tan
- Created: 2015-03-16T04:54:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T09:01:18.000Z (over 4 years ago)
- Last Synced: 2024-08-05T06:06:35.975Z (5 months ago)
- Topics: emacs, emacs-lisp, linum
- Language: Emacs Lisp
- Homepage:
- Size: 10.7 KB
- Stars: 31
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notice
This package is obsolete because there is a better alternative in Emacs 26 and later.
Emacs 26 officially provides the `display-line-numbers` function to show the line numbers and you can use the `line-number-current-line`
face to highlight the current line number.
They show the better performance than `linum-mode` and `hlinum-mode`.# hlinum-mode
This library extends linum-mode to highlight current line number.
It requires Emacs 24.4 or later.To use this package, add these lines to your .emacs file:
```elisp
(require 'hlinum)
(hlinum-activate)
```And by using `M-x linum-mode`, you can see line numbers with highlighting current line number.
You can customize the color of highlighting current line by changing `linum-highlight-face`. By default, hlinum highlights current line only in the active buffer. To highlight current line in all buffers, change `linum-highlight-in-all-buffersp` to `t`.