I know this plugin for relative numbers, which works fine (with the option (global-relative-line-numbers-mode)
. I also know this elisp code, which gives me perfectly working absolute numbers:
(add-hook 'find-file-hook (lambda () (linum-mode 1)))
However, i don't know how i can have absolute line numbers on the current and relative line numbers on all other lines (both on the left margin like displayed in the picture below).
This picute of my vim shows what i want. Therefore, i don't search for line numbers in the mode line.