🚀ApolloNvim


Always check before installing on Github for the source. This will prevent potential problems! If you're not you're not sure of the procedure or something is not clear, you'd better check the the documentation, write or find the forums the answer.

How to install plug.vim into Neovim

But first, back up your current Neovim settings!!!

Linux & Mac:

/home/user/.config/nvim/init.vim

Windows:

~\AppData\Local\nvim

Go to this page under Installation, find your operating system and copy the link below it into your terminal and use Enter to install vim.plug.

On Linux and macOS it will be this command:

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

For Windows, the command can be found on the linked site above.

Next, open the init.vim file and if you don't have it, create it here:

Linux & Mac:

/home/user/.config/nvim/init.vim

Windows:

~\AppData\Local\nvim

And into it we insert and then save this code:

call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')


# I'm going to be adding plugins in the future. Starting a PLug and download address


call plug#end()

And use the Nvim command in the terminal to start Neovim. If you get an error message just click it.

Use Ctrl + : to get to the command prompt and type PlugInstall

A restartujeme Neovim. Příkazem Ctrl + : do príkazového řádku napíšete q a restartujeme Neovim.

Takto pokaždé když si přidáte do init.vim pluginy, příkazem PlugInstall je nainstalujete a restartujeme Neovim.

Zdroj na GitHub

ï

How to install Codeium on Neovim

Codeium je alternativou k GitHub Copilot s tím, že pro jednotlivce je zdarma. Codeium hodnotím velmi pozitivně a Copilotu se vyrovná.

Instalace pomocí plug.vim je jednoduchá, stačí pouze upravit svůj init.vim

Vložíme do něj:

" Free AI codium
Plug 'Exafunction/codeium.vim', { 'branch': 'main' }

Výsledný init.vim bude vypadat takto:

call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
" Free AI codium
Plug 'Exafunction/codeium.vim', { 'branch': 'main' }
call plug#end()

A restartujeme Neovim. Příkazem Ctrl + : do príkazového řádku napíšete q a restartujeme Neovim.

Po restartu provedeme PlugInstall a ještě jednou restartujeme Neovim.

Poslední krok bude konfigurace Codeium, příkazem CodeiumEnable do command line.

Codium vás vyzve k propojení API se serverem Codium.

A vše by Vám mělo fungovat.

Zdroj na GitHub