Neovim: Difference between revisions
Appearance
imported>P-h Created Neovim page |
imported>P-h No edit summary |
||
| Line 2: | Line 2: | ||
== Configure Neovim as the default Editor == | == Configure Neovim as the default Editor == | ||
Add this to your <code>configuration.nix</code> | |||
<code>environment.variables.EDITOR = "nvim";</code> | <code>environment.variables.EDITOR = "nvim";</code> | ||
Revision as of 18:41, 24 March 2020
Configure Neovim as the default Editor
Add this to your configuration.nix
environment.variables.EDITOR = "nvim";
Set Neovim as vi and vim
nixpkgs.overlays = [
(self: super: {
neovim = super.neovim.override {
viAlias = true;
vimAlias = true;
};
})
];