Displays line numbers relative to the current cursor position. Useful for ViEmu and VsVim extension users.

(11) Review
Visual Studio
2015, 2013, 2012, 2010
Download (11,688)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (11)
Q and A (11)
Sign in to write a review
Sort by:

by Julien Couvreur | March 26 2016

I liked it, but switched to "Relative Number" (another VS extension of same purpose). It has two differences:
-the current line number is indented to the left
-it replaces the built-in VS line numbers

by martinxsolon | January 15 2016

Awesome. Thank you!

by Tfosorcimsucks | August 04 2015

It would be excellent if the this extension supported the new VIM style of line numbers. i.e. If it would display the current line number instead of 0 on the line the cursor is on and display the relative number for the other lines. This will make the default line number view not necessary.

The new update adds the absolute line numbering. 5 stars.

by jim-my | July 28 2015

really helps with viemu...

by WheresDaCode | June 03 2015

Must have for those running any vim emulator in VS.

by gl_hf | August 21 2014

Thank you for extension!
Works fine in VS2013

by Thumbmunkey | May 07 2014

by andre.dart | December 01 2013

Works perfectly with VsVim.


by VHCM | July 18 2013

Great extension! Thank you for sharing. I'm using this extension with Visual Studio 2012. You just need to update the manifest to support this version.

You can find an illustrated guide here:

by lerosQ | March 28 2013

Simple and useful, for Vi(Emu) users.

Note: I'd like to see a version for VS 2012 too.

by TheLastPro | March 24 2013

I certainly find this plugin useful with VsVim. It works as described and so far I've have no problems. Hopefully compatibility with VS 2012 will be added soon...

Sign in to start a discussion

  • Which file extensions are supported?
    1 Posts | Last post December 07, 2015
    • I really love this extension, but now I got little trouble with it. I use specflow in my project and when I edit a file with the extension ".feature" no relative line numbers are shown. 
      Would it be possible to add another option to specify the file relative line numbers are shown?
  • Reduce Gutter Width
    1 Posts | Last post November 03, 2015
    • Hi, is it possible to reduce the width of the line numbers column. I am using VS 2015 and there is a lot of unnecessary whitespace that should be removed.
  • 2015 - thanks...
    1 Posts | Last post August 19, 2015
    • I cloned the github repository this morning to make the update for 2015, and found it was already there... thanks!
  • Support for VS2015
    6 Posts | Last post August 17, 2015
    • Can we also add support for VS2015?
    • +1 from me for VS 2015 support.
    • Please!!
    • Please can we have support for 2015... I have to keep guessing in viemu...
    • +1 for VS 2015 support !!!
    • +1 for VS 2015 support !!! - or let us do it :-)
  • Colors
    2 Posts | Last post June 02, 2015
    • Is it possible to change the colors of the numbers?
    • Hi there,
      You can change the background and foreground color. To customize them, go to Tools -> Options -> Fonts and Colors -> Relative Line Numbers
  • Can we an absolute line number instead of zero
    2 Posts | Last post May 18, 2015
    • I like how Vim in relative line number mode shows the absolute line number instead of zero for a current line. Can we have the same here? Displaying zero doesn't is not that informative anyway (you know it's zero if it's a current line).
      Sometimes in larger files it's harder to see where you are without seeing your absolute position. I know it's displayed in the status bar, but having it in the current window is more convenient.
      And thanks a lot for a useful extension!
    • I agree.
  • Font size doesn't change dynamically
    1 Posts | Last post December 17, 2014
    • This is an awesome extension - I'm a VsVim user and guessing larger block sizes just went from being a fine art to a science!
      Minor bug - when I change the font size for the text editor in Visual Studio, the relative line numbers don't change size until I've restarted the IDE.
  • Always reserve space for 2 numbers?
    1 Posts | Last post July 02, 2014
    • When the source line number is between 10 and 20, navigating in lines may cause the max relative line number to 2 digits (>=10) or 1 digit (<10), the switch blinks editor and move editor position a little in horizontal, it is possible to always reserve 2 digits space to show relative line number even if the max line number is less than 10?
  • Lines counting direction - option
    1 Posts | Last post November 22, 2013
    • Thx for the addin :) It will be nice to get a option in settings to select lines count direction.
      At this moment it's always: ASC but for me more useful is Desc.
      When I click on the begining of method which is bigger then current screen then I would like to see max lines count in scope without scrolling to the end of method (scope).
  • Zooming and relative line numbers
    4 Posts | Last post November 01, 2013
    • Hi,
      working remote on my workstation, I had to zoom into a window to have a clear font.
      After zooming to 110% the relative line numbers were not in line with the current line anymore.
      Best regards,
    • Hi Martin,
      Thanks for the bug report. I've reproduced it and will look into fixing it as soon as I have some free time.
    • Thanks Zoltan (in advance for fixing)!
      Good to know, it's reproducible.
    • Hi Martin,
      Can you please download the pre-release version from and see if it fixes the issue.
1 - 10 of 11 Items