Skip to content

mous16/vscode-nvim-numbertoggle

 
 

Repository files navigation

vscode-nvim-numbertoggle

Neovim plugin to automatically toggle between relative and absolute line numbers in VSCode. 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

Installation

Use your favorite package manager. Example config with built-in vim.pack:

vim.pack.add({
	{ src = "https://github.com/vscode-neovim/vscode-neovim" },
	{ src = "https://github.com/mous16/vscode-nvim-numbertoggle" }
})

Acknowledgment

Based on nvim-numbertoggle

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 94.5%
  • JavaScript 5.5%