To enable hybrid line number, add the following line to your init.lua
.
vim.wo.number = true
vim.wo.relativenumber = true
Save this file by doing a :w
or Shift + z
repeat z
.
The next time you open Neovim, you should see the hybrid line number enabled.
This article will cover how to install the latest builds of Neovim on Ubuntu. We will be using the unstable PPA repository since it gets updated more often, this means we get new features and bug fixes faster. If you need extreme stability in your environment, I recommend going with the stable Ne...
Kickstart.nvim is a starter configuration for Neovim that is small, single-file and well-documented. You can use it as a starting point to create your custom configuration. I have been using it for a while now with a few changes.
Setting up Kickstart.nvim
Creating the config directory (Skip this...
To enable relative line number, add the following line to your init.lua
.
vim.wo.relativenumber = true
Save this file by doing a :w
or Shift + z
repeat z
.
The next time you open Neovim, you should see the relative line number enabled.