lua/pika | ||
snippets@4af57355e2 | ||
.gitignore | ||
.gitmodules | ||
.vimrc | ||
functions.sh | ||
init.lua | ||
README.md |
This is my current neovim configuration. It uses 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, typenvim --version
To build neovim from source, you can run the following.
This script should cover most linux distroscurl -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/neovim.sh | bash
Tip
You can run the script silently, via..
curl -fsSL https://... | bash -s -- [ --silent | -s ]
For config-installation, just git clone this repo to your $HOME/.config/ folder.
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 withnvim --headless +q
and enjoy the config
configuration
- Colorscheme-plugins are defined in colorschemes.lua
Tip
default theme is
duskfox
you can change the theme in the colorscheme function in the 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 which has the plugin code inside a require{}
table.
require{
"<username>/<plugin>", -- <- 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("<plugin>").setup({})`
}