This commit is contained in:
2026-06-20 14:10:02 +01:00
parent 7dde0c9e27
commit ab1f2bf154

View File

@@ -22,19 +22,19 @@ You can add the repo to your flake like this:
} }
} }
``` ```
and then add this to your package list: And then add this to your package list:
```nix ```nix
inputs.nvim-voidarc.packages.${stdenv.hostPlatform.system}.remote inputs.nvim-voidarc.packages.${stdenv.hostPlatform.system}.remote
``` ```
I don't recommend making it follow the system nixpkgs as treesitter needs unstable in order to work properly I don't recommend making it follow the system nixpkgs as treesitter needs unstable in order to work properly.
### Install into nix config and add local config ### Install into nix config and add local config
Clone this repo into your nvim config directory (make sure to back up beforehand) Clone this repo into your nvim config directory (make sure to back up beforehand):
``` ```
git clone https://git.voidarc.co.uk/voidarc/nvim ~/.config/nvim git clone https://git.voidarc.co.uk/voidarc/nvim ~/.config/nvim
``` ```
Then add that folder as an input to your flake Then add that folder as an input to your flake:
```nix ```nix
{ {
inputs = { inputs = {
@@ -43,9 +43,9 @@ Then add that folder as an input to your flake
} }
``` ```
Adjust the path and the username to what they are on your system. The input should be the path of the directory Adjust the path and the username to what they are on your system. The input should be the path of the directory
that contains the flake, in this case the flake's path would be `/home/username/.config/nvim/flake.nix` that contains the flake, in this case the flake's path would be `/home/username/.config/nvim/flake.nix`.
Then add the default package to your system pacakge Then add the default package to your system package:
```nix ```nix
inputs.nvim-voidarc.packages.${stdenv.hostPlatform.system}.default inputs.nvim-voidarc.packages.${stdenv.hostPlatform.system}.default
``` ```
@@ -66,11 +66,11 @@ The leader key is space, configurable at the top of the `init.lua` file. When re
#### Navigation #### Navigation
- <leader>ff - Open Telescope fuzzy finder - \<leader\>ff - Open Telescope fuzzy finder
- <leader>fn - Open Telescope file manager - \<leader\>fn - Open Telescope file manager
- <leader>fg - Telescope live grep (only works in git repos afaik) - \<leader\>fg - Telescope live grep (only works in git repos afaik)
- <leader>fb - Telescope list of open buffers - \<leader\>fb - Telescope list of open buffers
- <leader>bd - Delete focused buffer - \<leader\>bd - Delete focused buffer
If a file is open, Telescope is configured to jump to the pane/tab where that file is open, rather than open it in the current pane. If a file is open, Telescope is configured to jump to the pane/tab where that file is open, rather than open it in the current pane.
This allows for a more consistent editing experience, such as having seperate tabs for backend and frontend files. This allows for a more consistent editing experience, such as having seperate tabs for backend and frontend files.