Modern Neovim — User Interface
Let’s check out interesting plugins to improve the Neovim user interface.
This article is part of the Modern Neovim series.
The Neovim configuration files are available in this repository.
Getting Started
We talked about Helix in the Helix series. Helix is a modal editor with a modern user interface. For example, it displays the pop-up menu for the keymappings on the bottom right, as shown below. We will take some cues from Helix and adapt them to the Neovim user interface.
KeyMapping
For our existing configuration, we use which-key.nvim
to display the key bindings, and hydra.nvim
for custom sub-modes and menus.
We can use the mini.clue
plugin to have a similar experience to Helix.
Let’s change our configuration to have the option to switch between which-key.nvim
and mini.clue
. In the lua/config/init.lua
file, we add the options to enable or disable both plugins.