https://github.com/jrodal98/nvim
My neovim configuration
https://github.com/jrodal98/nvim
Last synced: about 1 year ago
JSON representation
My neovim configuration
- Host: GitHub
- URL: https://github.com/jrodal98/nvim
- Owner: jrodal98
- License: gpl-3.0
- Created: 2021-10-03T04:13:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-05T05:17:52.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T22:18:56.871Z (over 1 year ago)
- Language: Lua
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Neovim [](https://github.com/neovim/neovim)

## Install
If you already have a neovim config, make a backup:
```
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim/ ~/.local/share/nvim.bak
```
Run this command to clone the repository:
```
git clone https://github.com/jrodal98/nvim ~/.config/nvim
```
Next, follow these steps to finish setting up the config:
1. Run `nvim`, which will trigger the initial packersync (you may see errors - this is okay)
2. Close nvim and then run `nvim` again
3. Install null-ls related packages: `MasonInstall prettierd stylua black isort shfmt shellcheck proselint`
4. Wait for all the treesitter and mason LSP configs to download
5. Close nvim
Setup is now complete!
## Docker
### Run instructions
Install:
```
docker pull ghcr.io/jrodal98/nvim:latest
```
To run the docker image and to mount the current directory into the spawned container, run:
```
docker run -v $(pwd):/project -it --rm ghcr.io/jrodal98/nvim:latest
```
You can put the following alias in your shell rc:
```
nvim_docker='docker run -v $(pwd):/project -it --rm ghcr.io/jrodal98/nvim:latest'
```
### Build instructions
First, build a base image
```
docker build . -t ghcr.io/jrodal98/nvim:
```
Next, run a container
```
docker run -it --rm --name nvim_docker_base ghcr.io/jrodal98/nvim:
```
Finally, we must manually complete the build, due to issues with running packer headless.
1. Run `nvim`, which will trigger the initial packersync (you may see errors - this is okay)
2. Close nvim and then run `nvim` again
3. Install null-ls related packages: `MasonInstall prettierd stylua black isort shfmt shellcheck proselint`
4. Wait for all the treesitter and mason LSP configs to download
5. Outside of the container, open another terminal and run this to save the image: `docker container commit --change='ENTRYPOINT ["/usr/bin/nvim"]' nvim_docker_base ghcr.io/jrodal98/nvim:`
To upload it to ghcr without a github action...
1. `docker login ghcr.io`
2. enter github username and access token
3. `docker tag ghcr.io/jrodal98/nvim: ghcr.io/jrodal98/nvim:latest`
4. `docker push ghcr.io/jrodal98/nvim:`
5. `docker push ghcr.io/jrodal98/nvim:latest`
## Showcase



## Inspiration
- [nvim-basic-ide](https://github.com/LunarVim/nvim-basic-ide)
- [Neovim-from-scratch](https://github.com/LunarVim/Neovim-from-scratch)
- [NvChad](https://github.com/NvChad/NvChad)