Skip to content

RCristiano/Vim-aS-Code

Repository files navigation

Vim aS Code

NeoVim with VSCode inspiration

Prints

print

Requirements

Some language especific extensions have its own requirements

Instalation

NeoVim

Move init.vim file and extensions folder to ~/.config/nvim/

mv init.vim ~/.config/nvim/
mv -r extensions ~/.config/nvim/

Then run:

:PlugInstall

Languages

This repo uses coc.nvim, so its compatible with any of its available language servers.

Python

vim +'CocInstall coc-python' +qa # Language server

GO

Go extensions was configured using this guide.

tl;dr

Set $GOBIN and $GOPATH variables and add $GOBIN to your $PATH and run:

vim +PlugInstall
vim +GoInstallBinaries

Then run the following command inside nvim:

:CocConfig

and paste the content present in coc-settings.json present in this repo.

  • This file is configured to work with Kubernetes yaml files as well, to make it fully functional, you can run :CocInstall coc-yaml. (if you wont use it, simply remove yaml.schemas section)

Elixir

Simply run :CocInstall coc-elixir

Test

docker build . -t vimascode
docker run --it -v $PWD:/mnt/workdir vimascode

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •