Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshdirkx/toggle-relativenumber.nvim
https://github.com/joshdirkx/toggle-relativenumber.nvim
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joshdirkx/toggle-relativenumber.nvim
- Owner: joshdirkx
- Created: 2023-01-20T20:18:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-01T19:04:10.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T18:37:00.700Z (5 months ago)
- Language: Lua
- Size: 118 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-neovim-pluginlist - joshdirkx/toggle-relativenumber.nvim - relativenumber.nvim) ![](https://img.shields.io/github/last-commit/joshdirkx/toggle-relativenumber.nvim) ![](https://img.shields.io/github/commit-activity/y/joshdirkx/toggle-relativenumber.nvim) (Other Standard Feature Enhancement / Number)
README
# toggle-relativenumber.nvim
![gif showing plugin in action](./toggle-relativenumber.gif)
Automatically turns off relativenumber when leaving a buffer, and enables it when entering a buffer.
Inspired by [jeffkreeftmeijer/vim-numbertoggle](https://github.com/jeffkreeftmeijer/vim-numbertoggle), written in Lua for Neovim.
## Installation
### Packer
```
use { 'joshdirkx/toggle-relativenumber.nvim' }
```