- My init.vim file for nvim and vim-plug
- plus codes for installing zsh
- 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'''
- Install oh-my-zsh:
First install zsh using apt:
sudo apt install -y zsh
And then install zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
- Install zsh-autosuggestions:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
In .zshrc
, add plugin:
plugins=( # other plugins... zsh-autosuggestions )