sudo snap install nvim --classic- Create configuration file for
neovim
mkdir ~/.config/nvim
#copy the configuration file to ~/.config/nvim # tool to enable neovim to copy text to the clipboard
sudo apt install xclipAs a plugin manager i am using Vim-Plug.
Vim-Plug
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'Reload the file or restart neovim, then you can:
:PlugInstallto install the plugins:PlugUpdateto install or update the plugins:PlugDiffto review the changes from the last update:PlugCleanto remove plugins no longer in the list
# installing nodejs >= 16.18.0
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source .bashrc
nvm install 20
node -v # should print `v20.15.0`
npm install --global yarn
copy the fonst folder in your .fonts dir - To comment use
gcc - To comment in visual mode
gc - To uncomment
gcgc
sudo apt install universal-ctags- <C-P> to search files
" to open the file you can hit enter to oepn it or
" C-t to open in other tab
" C-v to open in vertical split
" C-x to opeb in horizontal split coc-clangd ccls coc-ccls vim-lsp-cxx-highlight
:CocInstall coc-clangdcoc-clangdwill try to findclangdfrom your$PATH, if not found, you can run:CocCommand clangd.install:CocInstall coc-cclssudo apt install bearsudo apt install ccls: language server
Note: Not fully configured yet
- To setup the environment for a
Corcppproject :
# crete a makefile for your project
bear -- make # it will create a compile_commands.json Note: probably going to switch to
Luaconfiguration
