Neovim

From NixOS Wiki
Revision as of 18:40, 24 March 2020 by imported>P-h (Created Neovim page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Configure Neovim as the default Editor

environment.variables.EDITOR = "nvim";

Set Neovim as vi and vim

 nixpkgs.overlays = [
   (self: super: {
     neovim = super.neovim.override {
       viAlias = true;
       vimAlias = true;
     };
   })
 ];

See Also

Vim