Skip to content

Commit

Permalink
docs/user-guide: add configuration examples
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed May 30, 2024
1 parent da9bd1f commit 2533894
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ lightline plugin:
When we do this, lightline will be set up to a sensible default, and will use
gruvbox as the colorscheme, no extra configuration required!

Check out [this list of real world nixvim configs](https://nix-community.github.io/nixvim/user-guide/config-examples.html)!

## Support/Questions
If you have any question, please use the [discussions page](https://github.com/nix-community/nixvim/discussions/categories/q-a)! Alternatively, join the Matrix channel at [#nixvim:matrix.org](https://matrix.to/#/#nixvim:matrix.org)!

Expand Down
1 change: 1 addition & 0 deletions docs/man/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ let
${./nixvim-header-start.5} \
${mkMDSection ../user-guide/helpers.md} \
${mkMDSection ../user-guide/faq.md} \
${mkMDSection ../user-guide/config-examples.md} \
${./nixvim-header-end.5} \
>$out/nixvim-header.5
'';
Expand Down
3 changes: 2 additions & 1 deletion docs/mdbook/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Structure for nixvim docs
# Structure for nixvim docs

# User guide

- [Installation](./user-guide/install.md)
- [Helpers](./user-guide/helpers.md)
- [FAQ](./user-guide/faq.md)
- [Configuration examples](./user-guide/config-examples.md)

# Platforms

Expand Down
43 changes: 43 additions & 0 deletions docs/user-guide/config-examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# User configurations

Want some help with starting your configuration?
Or maybe you're curious how others have done things?
Take a look at these configuration examples below.

<!-- TODO: add info about `kickstart.nixvim` -->

**Note:**\
Most of those configurations are using a [standalone build](../modules/standalone.html), however,
all of the nixvim options are accessible no matter how you are using it (flake, NixOS/HM module, nix-darwin...).

| Config | Comment |
|-|-|
| [ahwxorg/nixvim-config] | |
| [alisonjenkins/neovim-nix-flake] | |
| [GaetanLepage/nix-config] | Home-manager |
| [gwg313/nvim-nix] | |
| [hbjydev/hvim] | |
| [nicolas-goudry/nixvim-config] | Heavily inspired by AstroNvim |
| [pete3n/nixvim-flake] | |
| [redyf/Neve] | meticulously crafted custom configuration for Nixvim |
| [siph/nixvim-flake] | |
| [Tanish2002/neovim-config] | |
| [traxys/Nixfiles] | |

[ahwxorg/nixvim-config]: https://github.com/ahwxorg/nixvim-config
[alisonjenkins/neovim-nix-flake]: https://github.com/alisonjenkins/neovim-nix-flake
[GaetanLepage/nix-config]: https://github.com/GaetanLepage/nix-config/tree/master/home/modules/tui/neovim
[gwg313/nvim-nix]: https://github.com/gwg313/nvim-nix
[hbjydev/hvim]: https://github.com/hbjydev/hvim
[nicolas-goudry/nixvim-config]: https://github.com/nicolas-goudry/nixvim-config
[pete3n/nixvim-flake]: https://github.com/pete3n/nixvim-flake
[redyf/Neve]: https://github.com/redyf/Neve
[siph/nixvim-flake]: https://github.com/siph/nixvim-flake
[Tanish2002/neovim-config]: https://github.com/Tanish2002/neovim-config
[traxys/Nixfiles]: https://github.com/traxys/Nixfiles/tree/master/neovim

## Share your config !

To add a configuration to this list, either:
- Edit [this file](https://github.com/nix-community/nixvim/blob/main/docs/user-guide/config-examples.md) and make a PR on the [nixvim repo](https://github.com/nix-community/nixvim).
- Send a message to the [matrix _Documentation_ room](https://matrix.to/#/#nixvim-documentation:matrix.org)

0 comments on commit 2533894

Please sign in to comment.