https://github.com/sitiom/nvim-numbertoggle
Neovim plugin to automatically toggle between relative and absolute line numbers. Written in Lua.
https://github.com/sitiom/nvim-numbertoggle
line-numbers lua neovim neovim-plugin nvim
Last synced: 4 months ago
JSON representation
Neovim plugin to automatically toggle between relative and absolute line numbers. Written in Lua.
- Host: GitHub
- URL: https://github.com/sitiom/nvim-numbertoggle
- Owner: sitiom
- License: mit
- Created: 2022-07-04T10:24:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T08:35:30.000Z (about 1 year ago)
- Last Synced: 2024-12-10T07:11:10.405Z (4 months ago)
- Topics: line-numbers, lua, neovim, neovim-plugin, nvim
- Language: Lua
- Homepage:
- Size: 35.2 KB
- Stars: 159
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pinoy-made - GitHub
- awesome-neovim - sitiom/nvim-numbertoggle - Neovim plugin to automatically toggle between relative and absolute line numbers. (Utility / Cursorline)
- my-neovim-pluginlist - sitiom/nvim-numbertoggle - numbertoggle)   (Other Standard Feature Enhancement / Number)
- awesome-neovim-sorted - sitiom/nvim-numbertoggle
README
# nvim-numbertoggle
Neovim plugin to automatically toggle between relative and absolute line numbers. Written in Lua.

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](https://github.com/wbthomason/packer.nvim):
```lua
use { "sitiom/nvim-numbertoggle" }
```## Acknowledgment
https://github.com/jeffkreeftmeijer/vim-numbertoggle