My NeoVim setup that is meant to improve some quality of life functionality while still retaining the overall sleekness the NeoVim offers.
This process helped me learn more about various aspects of this program such as defining shortcuts
and control remapping. Another powerful feature was defining TAB
completion of the
snippets and paths.
This configuration is by no means perfect and will continue to be updated as my work-flow evolves.
bash <(curl -s https://raw.githubusercontent.com/OkelleyDevelopment/Nvim-Config/master/util/install.sh)
You will need the following installed:
sudo apt install neovim
sudo apt install npm
sudo apt install python3-pip
pip install pynvim
npm i -g neovim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Inside ~/.config/
, run the commands:
mkdir nvim
git clone https://github.com/OkelleyDevelopment/Nvim-Configs.git
mv ~/.config/Nvim-Configs/* ~/.config/nvim/
Ensure the .git
folder moved over too and you will have the needed assets.
Inside /.config/nvim/
, open ./vim-plug/plugins.vim
and run
:PlugInstall
Upon neovim restart the plugins will be enabled.
To enable the proper syntax support,
:CocInstall <plugin name here>
Followed by any/all the following
NOTE: If you wish to see what CoC extensions exist run this:
:CocInstall coc-marketplace
:CocList marketplace
./vim-plug/plugins.vim
./plug-config/
and source in
./init.vim
:PlugInstall
Plug
command for the theme./vim-plug/plugins.vim
./themes/
<name of theme>.vim
and source in
./init.vim
All the key mappings are sourced through init.vim
and can be easily remapped
in the
./keys/
directory.
For help learning how to map keys check out this article.
This is easily one of the coolest parts of this setup. Coc-snippets allows the user to have access to a wide range of code snippets (common operations/setups in various languages).
Check this link to learn more.
If you want to create your own snippets, add a file in the ./snips/
directory
with the following naming scheme:
<language name goes here>.snippets
Then adding the snippet is a matter of following the instructions on the coc-snippets GitHub.