Update Readme

This commit is contained in:
Ben Clayton 2024-12-13 19:07:23 -07:00
parent c4b29f8263
commit 3cedb3ebf6

View File

@ -1,17 +1,8 @@
# Nixvim template
# Sources
- https://github.com/Ahwxorg/nixvim-config/tree/f295de4b6f9f808e3074e53d058b309dc69c55d2
- https://www.youtube.com/watch?v=b641h63lqy0&t=62s&ab_channel=Vimjoyer
This template gives you a good starting point for configuring nixvim standalone.
## Configuring
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`](./config/default.nix) file
## Testing your new configuration
To test your configuration simply run the following command
```
nix run .
```
# Use
- Use ``` nix run ``` to run vim
- If using any argument add ``` .# -- {arguments} ```
- For instance ``` nix run .# -- main.rs ``` opens the file