Because who doesn't like a declarative configuration of Neovim?
More Screenshots
To run the configuration, you can type the following:
nix run github:herrluisi/nixvim-config
If you want to try the configuration you can just add it temporary to your profile:
nix profile install github:herrluisi/nixvim-config
To remove it from your profile:
nix profile remove nixvim-config
How to include as package
To include the configuration as a replacement for Neovim, you first need to add it as an input on your system
inputs.nixvim.url = "github:herrluisi/nixvim-config"
Then you can input this in your configuration.nix (be sure that you inherit inputs from your flake)
environment = {
systemPackages = with pkgs; [
inputs.nixvim.packages.${system}.default
];
};
Descriptions of all the config files/plugins used in this configuration.
Name
Configuration
default.nix
Keymap configuration and import management
options.nix
Indentations, tabstops, ui configuration
Name
Configuration
cmp-copilot.nix
Configuration of copilot suggestion in code
cmp.nix
Selection of the suggestions
copilot-chat.nix
GitHub Copilot chat inside neovim
Name
Configuration
auto-pairs.nix
Pairs brackets and quotes automatically
blankline.nix
Adds automatically Indentation in neovim
formatting.nix
Runs terraform fmt automatically on save via LSP
treesitter.nix
Syntax highlighting
Name
Configuration
git.nix
Adds git features
lazygit.nix
Adds a floating window with information about the current working directory
Name
Configuration
default.nix
configures default language servers
fidget.nix
Show LSP notifications in the bottom corner
none-ls.nix
Additional language server configurations
vimtex.nix
adds latex support (including compiling)
Name
Configuration
wakatime.nix
adds time tracking to my projects
Name
Configuration
bufferline.nix
Tab-like interface for easy buffer navigation.
greeter.nix
A nice greeter which gives you a few features for starting your session
lightline.nix
Lightweight Statusline
mini-icons.nix
Icon provider
nvim-tree.nix
Adds a file explorer tree
Name
Configuration
autosave.nix
autosaves files
muren.nix
advanced search and replace
telescope.nix
Extendable fuzzy finder over lists.
toggleterm.nix
toggles the terminal
trouble.nix
Provides a pretty list for showing diagnostics, references, telescope results, quickfix and location lists
which-key.nix
displays a popup help for keybindings
wilder.nix
Command auto completion and search function (with /)
Special Personal Preferences
If you press 'jk' in edit mode, you will leave the edit mode into normal mode (this also happens if you are in the terminal)
If there is something that you feel that is not quite right, or you have ideas for improvement, please submit an issue or a PR.