My personal nvim configuration
Go to file
2024-01-10 15:04:04 +01:00
.github Improve stylua github workflow (#571) 2024-01-03 12:30:37 -05:00
doc feat: move to lazy.nvim package manager and add first plugins (#178) 2023-02-17 16:31:57 -05:00
lua bugfix: removed comment in autoformat 2024-01-10 15:04:04 +01:00
.gitignore Remove lazy-lock.json from .gitignore 2023-09-27 16:44:03 -07:00
.stylua.toml Use call_parentheses 2023-06-16 21:12:11 -07:00
init.lua specified format settings 2024-01-10 14:59:03 +01:00
LICENSE.md license 2022-06-25 21:51:44 -04:00
README.md customized README for my config and Windows installation 2024-01-10 13:28:46 +01:00

Introduction

This project is a fork of kickstart.nvim

Installation (Windows Only)

NOTE Backup your previous configuration (if any exists)

Requirements:

  • Make sure to review the readmes of the plugins if you are experiencing errors. In particular:

Neovim's configurations are located under the following path:

Shell PATH
cmd %userprofile%\AppData\Local\nvim\
powershell $env:USERPROFILE\AppData\Local\nvim\
  • Download and install:

    NOTE In this case, using chocolatey is quick and easy

    NOTE Make sure to select 'add to PATH' during installation

  • MSBuild-Tools

  • Clone this repository:

    • on Windows (cmd)
    git clone https://github.com/Baipyrus/nvim-config.git %userprofile%\AppData\Local\nvim\
    
    • on Windows (powershell)
    git clone https://github.com/Baipyrus/nvim-config.git $env:USERPROFILE\AppData\Local\nvim\
    

Post Installation

Start Neovim

nvim

The Lazy plugin manager will start automatically on the first run and install the configured plugins. After the installation is complete you can press q to close the Lazy UI and you are ready to go! Next time you run nvim Lazy will no longer show up.

If you would prefer to hide this step and run the plugin sync from the command line, you can use:

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

FAQ

  • What should I do if I already have a pre-existing neovim configuration?
    • You should back it up, then delete all files associated with it.
    • This includes your existing init.lua and the neovim files in %userprofile%\AppData\Local\nvim-data\ (CMD) or $env:USERPROFILE\AppData\Local\nvim-data\ (Powershell) which should be deleted afterwards.
    • You may also want to look at the migration guide for lazy.nvim
  • What if I want to "uninstall" this configuration:
  • Why is the kickstart init.lua a single file? Wouldn't it make sense to split it into multiple files?
    • The main purpose of kickstart is to serve as a teaching tool and a reference configuration that someone can easily git clone as a basis for their own. As you progress in learning Neovim and Lua, you might consider splitting init.lua into smaller parts. A fork of kickstart that does this while maintaining the exact same functionality is available here:
    • Discussions on this topic can be found here: