49 lines
1.6 KiB
Markdown
49 lines
1.6 KiB
Markdown
This is my current neovim configuration. It uses [lazy.nvim](https://github.com/folke/lazy.nvim) as the packagemanager.
|
|
|
|
> [!TIP]
|
|
> pika is my username, so feel free to change this to your needs.
|
|
|
|
## installation
|
|
|
|
> [!CAUTION]
|
|
> You're neovim version has to be >=0.10.0 </br>
|
|
> If you're not sure what version you have, type `nvim --version` </br>
|
|
> To build neovim from source, you can run the following. </br>
|
|
> This script should cover [most linux distros](https://git.k4li.de/scripts/imports/raw/branch/main/distros.sh "This script is used to detect the linux distros for installing the dependencies and building from source")
|
|
>
|
|
> ```bash
|
|
> curl -fsSL [https://git.k4li.de/scripts/installs/raw/branch/main/neovim.sh](https://git.k4li.de/scripts/installs/raw/branch/main/neovim.sh) | bash
|
|
> ```
|
|
|
|
> [!TIP]
|
|
> You can run the script silently, via..
|
|
>
|
|
> ```bash
|
|
> curl -fsSL https://... | bash -s -- [ --silent | -s ]
|
|
> ```
|
|
|
|
---
|
|
|
|
For config-installation, just git clone this repo to your $HOME/.config/ folder.
|
|
|
|
```bash
|
|
git clone --depth=1 https://git.k4li.de/dotfiles/nvim.git $HOME/.config/nvim/
|
|
```
|
|
|
|
> Prefetch the config with `nvim --headless +q` and enjoy the config
|
|
|
|
---
|
|
|
|
## configuration
|
|
|
|
- Colorscheme-plugins are defined in [colorschemes.lua](lua/pika/plugins/colorschemes.lua)
|
|
|
|
> [!TIP]
|
|
> default theme is `duskfox` </br>
|
|
> you can change the theme in the colorscheme function in the [init.lua](./init.lua)
|
|
|
|
---
|
|
|
|
- Plugin configuration and adding your own
|
|
|
|
My config is relatively simple structured. If you want to add a plugin, just create a <plugin.name>.lua file in the `lua/pika/plugin/` path, inside a `require{}` table.
|