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

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

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

  • Can we an absolute line number instead of zero
    1 Posts | Last post March 11, 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!
  • Support for VS2015
    1 Posts | Last post February 08, 2015
    • Can we also add support for VS2015?
  • 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.
  • Background after VS2010 restart always black
    3 Posts | Last post October 30, 2013
    • Hi,
      I changed the background of the column of the relative line numbers to be white, like the rest of my screen.
      After (re)starting VS2010 Premium, the settings dialog shows still the white configuration for the background, but the editor has a black background for the column of relative line numbers.
      Any fix available?
      Best regards,
    • Hi Martin,
      I cannot reproduce this one.
      Does this happen all the time? After restart can you change the background to some other color successfully? Can you give me more details to reproduce the bug?
    • Dear Zoltan,
      yes, it happens all the time (re)starting VS2010, the rel. line numbers column is black, even if the configuration dialog tells, it should be white.
      After setting the color again to white or an other color, everything is as expected.
      I'll try to set it to another color than white and will restart VS2010 to see, what will happen.
      I'll send you the results!
      Best regards,