# Leetcode relative line number

> Change line numbers on leetcode editor to the line number that's relative to the current active line

Canonical page: [https://chrome-stats.com/d/leetcode-relative-line-number](https://chrome-stats.com/d/leetcode-relative-line-number)

## Overview

- **ID:** `leetcode-relative-line-number`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Varshard
- **Category:** appearance
- **Daily users:** 1
- **Version:** 1.0
- **Last updated:** 2024-01-29
- **First published:** 2024-01-28
- **Size:** 8.09 KB
- **Data as of:** 2026-09-12
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/leetcode-relative-line-number/)
- **Website:** [https://github.com/varshard/firefox-leetcode-relative-line](https://github.com/varshard/firefox-leetcode-relative-line)

## Description

Show relative line number on leetcode editor instead of absolute line number for ease of user who use Vim.

It will rerender line numbers when following keys are pressed:
j, k, o, O, g, G, d.

## Rankings

- #117,020 — Overall
- #60 — leetcode
- #71 — number
- #93 — relate
- #197 — line

## Permissions and access

### Content script matches

- `leetcode.com`

## Safety

- **Risk impact:** Low risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Injects scripts into web pages, which may alter or extract site contents, resulting in a substantial risk.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Monaco Vim Keys](https://chrome-stats.com/d/monaco-vim-keys) — 1 users
- [Line Number Toggler](https://chrome-stats.com/d/line-number-toggler)
- [Line Number Toggler](https://chrome-stats.com/d/line-number-toggler-1)
- [LeetFonts](https://chrome-stats.com/d/leetfonts) — 2 users
- [Line Number Adder](https://chrome-stats.com/d/line-number-adder)
- [Simple Line Numberer](https://chrome-stats.com/d/simple-line-numberer) — 1 users
- [lastChars](https://chrome-stats.com/d/lastchars)
- [Line Numberer](https://chrome-stats.com/d/line-numberera)
- [GitHub comment navigator](https://chrome-stats.com/d/github-comment-navigator) — 1 users
- [GitLines](https://chrome-stats.com/d/gitlines) — 12 users
- [vimscrolling](https://chrome-stats.com/d/vimscrolling) — 1 users
- [Toggle LeetCode Syntax Highlighting](https://chrome-stats.com/d/leetcode-syntax-highlighting) — 5 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/leetcode-relative-line-number)
