Skip to content

πŸ–₯ My beautiful Neovim configurations

License

Notifications You must be signed in to change notification settings

PlatyPew/neovim-init.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ε…‰ι€Ÿ β€” Speed Of Light ⚑️

ε…‰ι€Ÿ (Speed Of Light) is a Neovim setup that has been carefully crafted to be feature-rich yet blazingly fast due to lazy loading as much as possible!

JPG Compression Be Like

πŸ’» Installation

To install, simply run the ./install.sh script or run this command.

nvim --headless "+Lazy! sync" +qa

πŸ“ File Structure

Plugins are stored and automatically sourced in lua/plugins/

~/.config/nvim
β”œβ”€β”€ ftplugin
β”‚  └── *.lua
β”œβ”€β”€ init.lua
└── lua
   β”œβ”€β”€ core
   β”‚  β”œβ”€β”€ autocmd.lua
   β”‚  β”œβ”€β”€ functions.lua
   β”‚  β”œβ”€β”€ mappings.lua
   β”‚  └── options.lua
   └── plugins
      └── *.lua

πŸ€– AI Features

There are 3 AI features that are enabled by default:

  1. Codeium
  2. Supermaven
  3. Avante

Codeium

To use Codeium, you will need to do :Codeium Auth, open in browser and follow the instructions.

It should ask you to create an account if you don't have one, and then paste the API key into the input field.

Supermaven

Supermaven should already be enabled by default, but to use the pro version, run :SupermavenUsePro and follow the instructions.

Avante

Currently, Avante is configured to use the following models from the following providers:

Model Name Provider
gpt-4o GitHub Marketplace Models
gpt-4o-mini GitHub Marketplace Models
gemini-exp-1114 Google AI
qwen2.5-coder:7b Alibaba Cloud (Ollama)

macOS

# GitHub and Google API Keys
security add-generic-password -a "GitHub Token" -s "GITHUB_TOKEN" -w "<api_key>"
security add-generic-password -a "Gemini API Key" -s "GEMINI_API_KEY" -w "<api_key>"

# Qwen2.5 Coder
brew services start ollama
ollama pull qwen2.5-coder:7b

Linux

# GitHub and Google API Keys
mkdir -p ~/.apikeys
echo "<api_key>" > ~/.apikeys/github_token
echo "<api_key>" > ~/.apikeys/gemini_api_key
chmod 600 ~/.apikeys/*

# Qwen2.5 Coder
sudo systemctl start ollama
ollama pull qwen2.5-coder:7b

About

πŸ–₯ My beautiful Neovim configurations

Topics

Resources

License

Stars

Watchers

Forks