To enable hybrid line number, add the following line to your init.lua. 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.
Tag: neovim
Install Neovim on Ubuntu
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 Neovim PPA just […]
Kickstart Neovim on Linux
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 step if you already have it setup) […]
Set color scheme in Neovim (Lua)
To set a color scheme in Neovim using Lua add the following line to the init.lua file In the example above, I use Onedark as the color scheme, but you can use whatever you like.
Relative line number in Neovim (Lua)
To enable relative line number, add the following line to your init.lua. 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.