• Stars
    star
    148
  • Rank 248,707 (Top 5 %)
  • Language
    Lua
  • License
    MIT License
  • Created about 2 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Neovim plugin to automatically toggle between relative and absolute line numbers. Written in Lua.

nvim-numbertoggle

Neovim plugin to automatically toggle between relative and absolute line numbers. Written in Lua.

demo

Relative numbers are used in a buffer that has focus and is in normal mode since that's where you move around. They're turned off when you switch out of Vim, switch to another split, or go into insert and command modes.

Getting started

Requirements

  • Neovim 0.7 or later

Installation

Use your favorite package manager. Example config with packer.nvim:

use { "sitiom/nvim-numbertoggle" }

Acknowledgment

https://github.com/jeffkreeftmeijer/vim-numbertoggle