lua | ||
snippets@e87f5d635c | ||
.gitignore | ||
.gitmodules | ||
.vimrc | ||
functions.sh | ||
init.lua | ||
package.json | ||
README.md |
This is my current neovim configuration. It uses lazy.nvim as the packagemanager ~ I've rewirtten my config to use the now default inculuded vim.pack.add()
function since 0.12.0 dev!!
installation
Caution
Your neovim version has to be >=0.12.0 - dev
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({})`
}