-
Go to
https://github.com/thanhhaimai/relativenumberruler/tree/master/plugins
and download the latest binary. -
Put it in to your
eclipse_folder/dropins/plugin
-
Restart Eclipse
-
Go to
Windows | Preferences | General | Editors | Text Editors
, and turn offShow line numbers
-
Profit!
Display a ruler with line number relative to your current line. The current line will have absolute line number. This is useful when you use Vrapper and want a Vim-like environment. You can look at the relative line number and execute vim commands faster, without having to count the lines.
Eclipse Kepler + Vrapper Unstable, Linux Mint 14 Mate. It should work on Eclipse Juno/Ubuntu with no problem
Thank Matf for his original code at https://github.com/matf/relativenumberruler