Editor Modes for Nix Files
This is a list of editor modes for Nix syntax.
- Emacs
- nix-mode official available in melpa
- @marsam's nix-mode
- nix-buffer
- Vim
Usage:
{ # /etc/nixos/configuration.nix
environment.systemPackages = [
(pkgs.vim_configurable.customize {
name = "vim";
vimrcConfig.packages.myplugins = with pkgs.vimPlugins; {
start = [ vim-nix ]; # load plugin on startup
};
})
];
}
- IntelliJ IDEA
- Eclipse
- nix-eclipse - development stopped in 2010
- Sublime Text
- Atom
- Visual Studio Code
- Howl
- Far2l
Custom Nix Editors
- nano - simple SH