|
4 роки тому | |
---|---|---|
.github | 4 роки тому | |
autoload | 4 роки тому | |
ftplugin | 4 роки тому | |
general | 4 роки тому | |
keys | 4 роки тому | |
lua | 4 роки тому | |
plug-config | 4 роки тому | |
snips | 5 роки тому | |
spell | 4 роки тому | |
syntax | 5 роки тому | |
themes | 4 роки тому | |
utils | 4 роки тому | |
vim-plug | 4 роки тому | |
vimspector-config | 4 роки тому | |
vscode | 4 роки тому | |
.gitignore | 4 роки тому | |
LICENSE | 5 роки тому | |
README.md | 4 роки тому | |
init.vim | 4 роки тому | |
nvcode.Dockerfile | 4 роки тому |
The following will install this config if you have an existing config it will move it to ~/.config/nvim.old
This script only supports Mac, Ubuntu and Arch
bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvim/master/utils/install.sh)
To get the latest and greatest:
cd ~
sudo rm -r neovim
git clone https://github.com/neovim/neovim
cd neovim
sudo make CMAKE_BUILD_TYPE=Release install
cd ~
sudo rm -r neovim
git clone https://github.com/ChristianChiarulli/nvim.git ~/.config/nvim
pip install pynvim
npm i -g neovim
pip install neovim-remote
This will install nvr
to ~/.local/bin
so you will need to add the following to your bashrc
or zshrc
export PATH=$HOME/.local/bin:$PATH
On Mac pbcopy should be builtin
Ubuntu
sudo apt install xsel
sudo pacman -S xsel
Make sure to add these paths somewhere in your config
let g:python3_host_prog = expand("<path to python with pynvim installed>")
let g:python3_host_prog = expand("~/.miniconda/envs/neovim/bin/python3.8") " <- example
let g:node_host_prog = expand("<path to node with neovim installed>")
let g:node_host_prog = expand("~/.nvm/versions/node/v12.16.1/bin/neovim-node-host") " <- example
Explanations and installation instruction can be found on my blog
Some example language servers, if you just install them they will work with this config
npm i -g pyright
npm i -g bash-language-server
npm install -g vscode-css-languageserver-bin
npm install -g dockerfile-language-server-nodejs
npm install -g graphql-language-service-cli
npm install -g vscode-html-languageserver-bin
npm install -g typescript typescript-language-server
npm install -g vscode-json-languageserver
npm install -g vim-language-server
npm install -g yaml-language-server
Go here
How to install the lua language server: link
:UpdateRemotePlugins
To replace in file make sure to specify %:p
To replace across project specify **/*.<your_extension>
To use vim-gists you will need to configure the following:
git config --global github.user <username>
VSCodium contains build files to generate free release binaries of Microsoft's VS Code.
You can install it on multiple platforms:
brew cask install vscodium
yay -s vscodium-bin
snap install codium
The Neo Vim Extension is available in the VSCode marketplace
I recommend using this alongside the VSCode which-key
extension
Along with some of my config files you can find in utils/vscode_config
https://github.com/mattn/efm-langserver
https://github.com/nvim-telescope/telescope-media-files.nvim
https://github.com/b3nj5m1n/kommentary
https://github.com/nvim-lua/completion-nvim
https://github.com/nvim-telescope/telescope-frecency.nvim
If anyone reading this has any suggestions about implementing any of the following I will accept a PR, but these are not priority.