Skip to content

Minimal configuration for dipping your toes in Neovim!

License

Notifications You must be signed in to change notification settings

MrSloth-dev/42.Neovim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42.nvim

Introduction

A starting point for Neovim that is:

NOT a Neovim distribution, but instead a starting point for your configuration.

Installation

Install Neovim

Inside of 42's Cluster is only through 42's Package Manager.

You'll need to add certains configurations to make it work (for now):

Autocomplete in Shell Open ~/.zshrc in your home directory and in the end add:
alias nvim=\"flatpak run io.neovim.nvim\"
compdef nvim="vim"
setopt complete_aliases

Outside 42's Cluster

Kickstart.nvim targets only the latest 'stable' and latest 'nightly' of Neovim. If you are experiencing issues, please make sure you have the latest versions.

Install Kickstart

NOTE Backup your previous configuration (if any exists)

Neovim's configurations are located under the following paths, depending on your OS:

OS PATH
Linux, in 42 Cluster ~/.var/app/io.neovim.nvim/config/nvim/
Linux, MacOS $XDG_CONFIG_HOME/nvim, ~/.config/nvim
Windows (cmd) %userprofile%\AppData\Local\nvim\
Windows (powershell) $env:USERPROFILE\AppData\Local\nvim\

Recommended Step

Fork this repo so that you have your own copy that you can modify, then install by cloning the fork to your machine using one of the commands below, depending on your OS.

NOTE Your fork's url will be something like this: https://github.com/<your_github_username>/42.nvim.git

Clone 42.nvim

NOTE If following the recommended step above (i.e., forking the repo), replace MrSloth-dev with <your_github_username> in the commands below

Linux inside 42's Cluster
git clone https://github.com/MrSloth-dev/42.Neovim.git "${XDG_CONFIG_HOME:-$HOME/.var/app/io.neovim.nvim/config/nvim}"
Linux outside 42's Cluster
git clone https://github.com/MrSloth-dev/42.Neovim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim

Post Installation

Start Neovim

nvim

That's it! Lazy will install all the plugins you have. Use :Lazy to view current plugin status. Hit q to close the window.

Read through the init.lua file in your configuration folder for more information about extending and exploring Neovim. That also includes examples of adding popularly requested plugins.

Getting Started

The Only Video You Need to Get Started with Neovim

Making Neovim a LSP

If you want to have realtime compilation warnings and errors you need to turn on the clang LSP:

  • Open Neovim
  • Type :Mason
  • Search 'Clang' and press I
  • After instalation press q and reset your neovim, and that's all folks!

About

Minimal configuration for dipping your toes in Neovim!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%