- this is my first neovim setup base on videos and other repositories.
- I'm currently using this setup to work on coding wile learning about vim motions.
- Currently using this only for JAVA and C delepment.
- neovim:
sudo apt-get install neovim - ripgrep:
sudo apt-get install ripgrep - clang:
sudo apt-get clang-18 - gcc:
sudo apt-get install gcc
- clone the repository inside "~/.config/" folder.
- a new folder is created called "nvim".
- enter the folder using:
cd .\nvim - inside of "nvim" folder create another folder called:
mkdir plugged - inside of "nvim" folder open with nvim the file
init.vimornvim -p init.vim - when inside of neovim use the command ": PlugInstall" in order to install the plugins.
- reload the editor and explore the config
- install coc packages for a variety of languages
- in the command line use the following list of languages to install for code completion:
CocInstall coc-java coc-pyright coc-json coc-tsserver coc-html coc-eslint coc-sql coc-git coc-css coc-vimlsp coc-lua coc-sh coc-go coc-restclient coc-clangd
- Java: set up the java path environment variable.
- open coc configuration using:
nvim ~/.config/nvim/coc-settings.json- set up the java run time for code completion:
java.configuration.runtimes- Change the Java Path variable to:
/usr/lib/jvm/java-pathor use the path to the jdk installation.
- Python: set up the python path environment variable.
- open coc configuration using:
nvim ~/.config/nvim/coc-settings.json- change the python path to the environment variable:
/usr/bin/python3or use the path to the python installation.
- clangd: set up the clang lenguage server: use
CocCommand clangd.install
- This is my own setup and may have some errors, which is totally fine.
- It is not intended to make it like an IDE. I just want to try some stuff before migrating to neovim.