Skip to content

lostinspiration/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Neovim setup for both windows and linux. My primary focus is to have an environment that I can use both at work in Windows and at home in Linux.

Important

This requires version 0.12+ of neovim

Windows

Requirements

  • git
  • nodejs
  • vs build tools

Setup

Clone this repo to the root of the c drive and symlink it to nvim's expected config location. This makes it easier to maintain rather than having to go into your user folder all the time.

mklink /d c:\Users\{Username}\AppData\local\nvim c:\nvim-config

Create an alias command to first initialize the visual studio developer console, and then launch nvim so that plugins have access to the dev tools. Toss it in the bin directory of nvim so its in your path.

%* passes through any arguments given to the command

setlocal
if not defined DevEnvDir (
    call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
)
nvim %*
endlocal

Linux

Requirements

  • git
  • nodejs

Setup

Clone this repo to your user directory or wherever you store your source files and symlink it to nvim's expected config location. This makes it easier to maintain rather than having to go into your user folder all the time.

ln -s ~\.config\nvim ~\nvim-config

Update

curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim-linux-x86_64
sudo tar -xzf nvim-linux-x86_64.tar.gz

Tutorials

About

Configuration files for nvim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages