Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to get relative line numbers in Eclipse

📅 2015-May-21 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ line number, relative, vim, vrapper ⬩ 📚 Archive

[caption id="attachment_6927" align="aligncenter" width="415"][Relative line numbers in Eclipse](https://codeyarns.files.wordpress.com/2015/05/20150521_relative_number_0.png) Relative line numbers in Eclipse[/caption]

Being able to view relative line numbers in Vim makes it very easy to move around and operate in the editor. This is because a lot of Vim commands involve line counts that are relative to the current line.

If you are using Vrapper in Eclipse, you might be missing having relative line numbers. It is possible to get them by installing the Relative Number Ruler plugin.

Install

Usage

20150521_relative_number_1

Tried with: Relative Number Ruler 1.1, Eclipse 4.4.2 and Ubuntu 14.04