cd home
cp .vimrc .bashrc ~
# neovim dependencies
sudo apt-get install ninja-build gettext cmake unzip curl
git clone https://github.com/neovim/neovim.git
cd neovim
git checkout v0.9.5 # or any newer version
sudo make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
sudo snap install --beta nvim --classic
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt update
sudo apt upgrade
sudo apt-get install neovim
pip[3] install pynvim
sudo apt-get install xsel
cp -r nvim ~/.config/nvim
install 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'
download telescope (fast text search) dependencies:
sudo apt-get install ripgrep
sudo apt-get install fd-find
open a neovim session and run :PlugInstall
within it
nvim ~/.config/nvim/init.vim
:PlugInstall
Run :checkhealth telescope
for example to verify everything is OK
Install node
# For Ubuntu 20.04 (Focal)
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get update
sudo apt-get install nodejs
Copilot:
sudo apt install npm
npm install n -g # sudo possibly required
unalias n
n stable # sudo possibly required
alias n='nvim'
run
n ~/.vimrc
:Copilot setup
If copilot cannot open browser, go directly to: http://github.com/login/device
for debian based systems (ubuntu):
sudo apt-get install autojump
echo "source /usr/share/autojump/autojump.sh" >> ~/.bashrc
source ~/.bashrc