Skip to content
| Marketplace
Sign in
Visual Studio>Tools>RelativeLineNumbers
RelativeLineNumbers

RelativeLineNumbers

Zoltan Klinger

|
26,071 installs
| (16) | Free
Displays line numbers relative to the current cursor position. Useful for ViEmu and VsVim extension users.
Download

Relative Line Numbers

This extension displays line numbers relative to the current cursor position.
Useful for ViEmu and VsVim extension users. Relative Line Numbers help you use
the count you can precede some vertical motion commands (e.g. j k + -)
with, without having to calculate  it yourself. Especially useful in combination
with other commands (e.g. y d c < > gq gw =).

 

Enable/Disable absolute line number on current cursor line:

  • Tools -> Options -> Relative Line Numbers -> Cursor Line Number -> Show absolute line number -> True/False

Customize fonts and colours:

  •  Tools -> Options -> Fonts and Colors -> Relative Line Numbers
  •  Tools -> Options -> Fonts and Colors -> Relative Line Numbers Cursor Line

 

Revision History

  • Mar 9, 2017 - v1.1.2
    • Add support for Visual Studio 2017
  • Aug 19, 2015 - v1.1.1
    • Add support for Visual Studio 2015
  • June 30, 2015 - v1.1
    • Add option to show absolute line number on current cursor line
  • Mar 03, 2015 - v1.0.5
    •  When editor font size changes update Relative Line Numbers font size accordingly.
  • Jan 24, 2014 - v1.0.4
    • Display the Relative Line Numbers correctly when the cursor is scrolled out of the view
  • Nov 07, 2013 - v1.0.3
    • Consistently place Relative Line Numbers to the right of the normal line numbers
    • When code is zoomed adjust zoom factor for Relative Line Numbers accordingly
    • Redraw Relaitive Line Numbers when a code block is collapsed or expanded
  • Sep 20, 2013 - v1.0.2
    • Add support for Visual Studio 2012 and 2013
  • Mar 09, 2013 - v1.0.0
    • Initial release

 

Your donation is very much appreciated if you find this extension useful.

If you like the extension, tweet about it!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft