neovim-flake/.github/README.md

196 lines
7.5 KiB
Markdown
Raw Normal View History

2023-07-16 12:15:32 +02:00
<div align="center">
2024-04-27 19:39:28 +02:00
<img src="assets/nvf-logo-work.svg" alt="nvf Logo" width="200">
2024-05-03 11:56:57 +02:00
<br/>
<h1>nvf</h1>
2023-07-16 12:15:32 +02:00
</div>
2024-04-28 20:00:57 +02:00
2023-02-16 20:27:57 +01:00
<div align="center">
2024-04-28 20:00:57 +02:00
<p>
<a href="https://github.com/NotAShelf/nvf/releases/latest">
<img alt="Latest release" src="https://img.shields.io/github/v/release/NotAShelf/nvf?style=for-the-badge&logo=nixos&color=C9CBFF&logoColor=D9E0EE&labelColor=302D41" />
2023-02-06 03:27:15 +01:00
</a>
<a href="https://github.com/NotAShelf/nvf/pulse">
<img alt="Last commit" src="https://img.shields.io/github/last-commit/NotAShelf/nvf?style=for-the-badge&logo=starship&color=8bd5ca&logoColor=D9E0EE&labelColor=302D41"/>
2023-02-06 06:14:28 +01:00
</a>
<a href="https://github.com/NotAShelf/nvf/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/NotAShelf/nvf?style=for-the-badge&logo=nixos&color=ee999f&logoColor=D9E0EE&labelColor=302D41" />
2023-02-06 03:27:15 +01:00
</a>
<a href="https://github.com/NotAShelf/nvf/stargazers">
<img alt="Stars" src="https://img.shields.io/github/stars/NotAShelf/nvf?style=for-the-badge&logo=nixos&color=c69ff5&logoColor=D9E0EE&labelColor=302D41" />
2023-02-06 03:27:15 +01:00
</a>
<a href="https://github.com/NotAShelf/nvf/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/NotAShelf/nvf?style=for-the-badge&logo=bilibili&color=F5E0DC&logoColor=D9E0EE&labelColor=302D41" />
2023-02-06 03:27:15 +01:00
</a>
<a href="https://github.com/NotAShelf/nvf">
<img alt="Repo Size" src="https://img.shields.io/github/repo-size/NotAShelf/nvf?color=%23DDB6F2&label=SIZE&logo=codesandbox&style=for-the-badge&logoColor=D9E0EE&labelColor=302D41" />
2023-02-06 03:27:15 +01:00
</a>
2024-04-28 20:00:57 +02:00
</p>
</div>
2023-10-01 15:09:01 +02:00
<p align="center">
<img src="https://stars.medv.io/NotAShelf/nvf.svg", title="stars"/>
2023-10-01 15:09:01 +02:00
</p>
<div align="center">
<a>
2024-03-09 03:41:50 +01:00
A highly modular, configurable, extensible and easy to use Neovim configuration
framework in Nix. Designed for flexibility and ease of use, this flake
2024-03-09 03:41:50 +01:00
allows you to easily configure your Neovim instance with a few lines of
Nix code.
</a>
</div>
2023-02-06 03:27:15 +01:00
---
2023-02-06 03:44:55 +01:00
<div align="center"><p>
2024-04-28 20:00:57 +02:00
[Get Started]: #get-started
[Documentation]: #documentation
[Help]: #help
[Contribute]: #contributing
[FAQ]: #faq
[Credits]: #credits
2023-02-15 16:22:59 +01:00
**[<kbd><br>Get Started<br></kbd>][Get Started]**
2023-06-06 02:01:44 +02:00
**[<kbd><br>Documentation<br></kbd>][Documentation]**
**[<kbd><br>Help<br></kbd>][Help]**
**[<kbd><br>Contribute<br></kbd>][Contribute]**
**[<kbd><br>FAQ<br></kbd>][Faq]**
2023-02-15 16:22:59 +01:00
**[<kbd><br>Credits<br></kbd>][Credits]**
2023-02-06 03:27:15 +01:00
2023-02-06 03:44:55 +01:00
</p></div>
2023-02-06 03:27:15 +01:00
---
2023-02-15 16:22:59 +01:00
## Get Started
2023-02-06 03:27:15 +01:00
2023-07-16 12:15:32 +02:00
### Using `nix` CLI
2023-02-06 03:27:15 +01:00
2024-03-09 03:41:50 +01:00
If you would like to try out the configuration before even thinking about
installing it, you can run the following command
2023-02-06 03:27:15 +01:00
```console
nix run github:notashelf/nvf
2023-02-06 03:27:15 +01:00
```
2023-02-06 03:32:13 +01:00
2024-03-09 03:41:50 +01:00
This will get you a feel for the base configuration and UI design.
The flake exposes `#nix` as the default package, providing minimal
language support and various utilities.You may also use `#nix`,
`#tidal` or `#maximal` to get try out different configurations.
2023-02-06 03:27:15 +01:00
2024-03-09 03:41:50 +01:00
It is as simple as changing the target output to get a different
configuration. For example, to get a configuration with `tidal` support, run:
2023-02-06 03:27:15 +01:00
```console
nix run github:notashelf/nvf#tidal
2023-02-06 03:27:15 +01:00
```
2024-03-09 03:41:50 +01:00
Similar instructions will apply for `nix profile install`. However, you are
recommended to instead use the module system as described in the manual.
2023-02-06 03:27:15 +01:00
> [!NOTE]
2024-03-09 03:41:50 +01:00
> The `maximal` configuration is _massive_ and will take a while to build.
> To get a feel for the configuration, use the default `nix` or `tidal`
> configurations. Should you choose to try out the `maximal` configuration,
> using the binary cache as described in the manual is _strongly_ recommended.
## Documentation
See the [**nvf** Manual](https://notashelf.github.io/nvf/) for
2024-03-09 03:41:50 +01:00
detailed installation guides, configurations, available options, release notes
and more. Tips for installing userspace plugins is also contained in the
documentation.
2023-02-15 15:41:46 +01:00
If you want to dive right into trying **nvf** you can get a fully
2024-03-09 03:41:50 +01:00
featured configuration with `nix` language support by running:
2023-02-03 22:35:00 +01:00
```console
nix run github:notashelf/nvf#nix
```
2024-04-28 20:00:57 +02:00
[Issues]: https://github.com/NotAShelf/nvf/issues
Please create an issue on the [issue tracker](issues) if you find
2024-03-09 03:41:50 +01:00
the documentation lacking or confusing. I also appreciate any contributions
to the documentation.
2023-02-04 02:16:26 +01:00
2023-02-03 22:35:00 +01:00
## Help
2024-04-28 20:00:57 +02:00
You can create an issue on the [issue tracker](issues) to ask questions
2024-03-09 03:41:50 +01:00
or report bugs. I am not yet on spaces like matrix or IRC, so please use the issue
tracker for now.
2023-02-15 16:22:59 +01:00
## Contributing
2024-03-09 03:41:50 +01:00
I am always looking for new ways to help improve this flake. If you would like
to contribute, please read the [contributing guide](CONTRIBUTING.md) before
submitting a pull request. You can also create an issue on the
2024-04-28 20:00:57 +02:00
[issue tracker](issues) before submitting a pull request if you would
2024-03-09 03:41:50 +01:00
like to discuss a feature or bug fix.
2023-02-15 16:22:59 +01:00
2023-02-06 03:27:15 +01:00
## FAQ
**Q**: Can you add _X_?
2023-02-17 12:29:33 +01:00
<br/>
**A**: Maybe! It is not one of our goals to support each and every Neovim
plugin, however, I am always open to new modules and plugin setup additions
2024-04-28 20:00:57 +02:00
to **nvf**. Use the [appropritate issue template](issues/new/choose) and I will
consider a module addition.
2023-02-06 03:27:15 +01:00
**Q**: A plugin I need is not available in **nvf**. What to do?
2023-02-17 12:29:33 +01:00
<br/>
**A**: **nvf** exposes several APIs for you to be able to add your own
plugin configurations! Please see the documentation on how you may do
this.
2023-02-15 15:41:46 +01:00
2024-04-28 19:41:54 +02:00
**Q**: Main branch is awfully silent, is the project dead?
<br/>
**A**: No! Sometimes we branch out (e.g. v0.6) to avoid breaking userspace
and work in a separate branch until we make sure the new additions are
implemented in the most comfortable way available to the end user. If you have
not noticed any activity on the main branch, consider taking a look at the [list
of branches](https://github.com/NotAShelf/nvf/branches=) or the [list of open
pull requests](https://github.com/NotAShelf/nvf)
2023-02-15 16:22:59 +01:00
## Credits
### Contributors
2023-04-15 10:33:14 +02:00
Special thanks to
2023-02-15 16:22:59 +01:00
- [@fufexan](https://github.com/fufexan) - For the transition to flake-parts
2023-05-10 11:21:36 +02:00
- [@FlafyDev](https://github.com/FlafyDev) - For getting the home-manager to work
- [@n3oney](https://github.com/n3oney) - For making custom keybinds finally possible
- [@horriblename](https://github.com/horriblename) - For actively implementing planned features and quality of life updates
- [@Yavko](https://github.com/Yavko) - For the amazing **nvf** logo
2023-07-24 07:21:54 +02:00
- [@FrothyMarrow](https://github.com/FrothyMarrow) - For seeing mistakes that I could not
2023-02-15 16:22:59 +01:00
2023-04-15 10:33:14 +02:00
and everyone who has submitted issues or pull requests!
2023-02-15 16:22:59 +01:00
### Inspiration
2024-03-09 03:41:50 +01:00
This configuration borrows from and is based on a few other configurations,
including:
2023-02-15 16:22:59 +01:00
- [@jordanisaacs's](https://github.com/jordanisaacs) [neovim-flake](https://github.com/jordanisaacs/neovim-flake) that this flake is originally based on.
- [@sioodmy's](https://github.com/sioodmy) [dotfiles](https://github.com/sioodmy/dotfiles) that inspired the design choices.
- [@wiltaylor's](https://github.com/wiltaylor) [neovim-flake](https://github.com/wiltaylor/neovim-flake) for plugin and design ideas.
- [@gvolpe's](https://github.com/gvolpe) [neovim-flake](https://github.com/gvolpe/neovim-flake) for plugin, design and nix concepts.
2023-02-15 16:22:59 +01:00
2024-03-09 03:41:50 +01:00
I am grateful for their previous work and inspiration, and I wholeheartedly
recommend checking their work out.
2023-02-15 15:47:40 +01:00
<br/>
## License
2024-05-01 20:51:50 +02:00
Following the license of the [original neovim-flake](https://github.com/jordanisaacs/neovim-flake),
**nvf** has been made available under the [**MIT License**](LICENSE). However, all assets
and documentation are published under the
[**CC BY License**](https://github.com/NotAShelf/nvf/blob/main/.github/assets/LICENSE).
2023-02-06 03:27:15 +01:00
---
<div align="right">
<a href="#readme">Back to the Top</a>
</div>