mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
Rename submodule to 'nvim' for cleaner config
This commit is contained in:
parent
7afdf764f0
commit
64466c4e37
2 changed files with 2 additions and 4 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
|
@ -1,3 +1,3 @@
|
|||
[submodule "src/user/modules/utils/modules/neovim/config/nvim"]
|
||||
[submodule "nvim"]
|
||||
path = src/user/modules/utils/modules/neovim/config/nvim
|
||||
url = git@github.com:itme-brain/nvim.git
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ Invoke `just` in order to view an available list of project scripts
|
|||
|
||||
## Submodules
|
||||
|
||||
This repo uses git submodules for portable configurations.
|
||||
This repo uses git submodules for portable cross-platform configurations.
|
||||
|
||||
### Neovim Config
|
||||
The Neovim configuration is a separate repo for portability across non-NixOS systems.
|
||||
|
|
@ -61,14 +61,12 @@ cd src/user/modules/utils/modules/neovim/config/nvim
|
|||
git add . && git commit -m "your changes" && git push
|
||||
|
||||
# Update reference in nixos repo:
|
||||
cd ~/nixos
|
||||
git add src/user/modules/utils/modules/neovim/config/nvim
|
||||
git commit -m "Update nvim submodule" && git push
|
||||
```
|
||||
|
||||
#### Pulling nvim updates from remote
|
||||
```bash
|
||||
cd ~/nixos
|
||||
git submodule update --remote
|
||||
git add src/user/modules/utils/modules/neovim/config/nvim
|
||||
git commit -m "Update nvim submodule" && git push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue