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
> If you're not sure what version you have, type `nvim --version`
> To build neovim from source, you can run the following.
> 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 | 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 --recursive --depth=1 https://git.k4li.de/dotfiles/nvim.git $HOME/.config/nvim/ ``` > The `--recursive` flag is for pulling down the snippets submodule, since this is used in more neovim configs
> 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`
> 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 `.lua` file in the `lua/pika/plugin/` path which has the plugin code inside a `require{}` table. ```plugin.lua require{ "/", -- <- usually the git username/repo, can also be a full link to external git repo opts = {}, -- <- put in your plugin configuration content. The opts = {}, calls `require("").setup({})` } ```