Skip to content

Instantly share code, notes, and snippets.

@xinali
Last active April 25, 2018 08:23
Show Gist options
  • Save xinali/e99d28ff1c614603bdebd8895c59bba8 to your computer and use it in GitHub Desktop.
Save xinali/e99d28ff1c614603bdebd8895c59bba8 to your computer and use it in GitHub Desktop.
apt update && apt install -y vim git wget curl
# get vimrc
wget https://gist.githubusercontent.com/xinali/e5ba9e33d2ab942d35dda7a0bfa98029/raw/d871f503e2aee014def04947d8c81c6d426769e7/vimrc -O ~/.vimrc
# install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# install some plugin
# git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
# sh ~/.vim_runtime/install_basic_vimrc.sh
# create soft link
#ln -s /usr/local/bin/vim /usr/bin/vim
# echo "set nu" >> ~/.vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment