My nixvim configuration
This configuration is currently hardcoded to the home-manager configurations and can be used from there.
Just simply run any neovim command.
nvim .To start configuring, just add or modify the nix files in ./config.
If you add a new configuration file, remember to add it to the
config/default.nix file
To test your configuration simply run the following command
nix run .sudo nix flake updateFor more information look at: NixOS docs
| Mode | Keybind | Action |
|---|---|---|
| n | h | left |
| n | j | down |
| n | k | up |
| n | l | right |
| Mode | Keybind | Action |
|---|---|---|
| n | ff | find files |
| n | fw | live grep (find in files) |
| n | fb | find buffers |
| n | ft | treesitter |
| n | fg | git commits |
| n | fB | git branches |
| n | fo | old files |
| n | fu | undo history |
| n | fd | diagnostics |
| n | fe | todos |
| Mode | Keybind | Action |
|---|---|---|
| n | fs | View Sessions |
| Mode | Keybind | Action |
|---|---|---|
| n | K | hover action |
| n | gd | go to definition |
| n | gD | go to declaration |
| n | gi | go to implementation |
| n | go | go to type definition |
| n | gr | go to references |
| n | gd | go to definition |
| n | <F2> | rename |
| Mode | Keybind | Action |
|---|---|---|
| n | gl | Show current line diagnostics |
| n | [d | go to previous diagnostics |
| n | ]d | go to next diagnostics |
| Mode | Keybind | Action |
|---|---|---|
| n | dn | Dismiss all notifications |
Substitutes all word1's with word2's
v -> Select -> :s/<word1>/<word2>\