From c087fce63921808e44dd0124265bf9ba214e1bab Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Sat, 4 Jun 2016 07:59:23 +0200 Subject: [PATCH] vim to neovim move script --- vim-to-nvim.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 vim-to-nvim.sh diff --git a/vim-to-nvim.sh b/vim-to-nvim.sh new file mode 100755 index 0000000..fdd1682 --- /dev/null +++ b/vim-to-nvim.sh @@ -0,0 +1,24 @@ +#!/bin/bash +echo "Setting up zsh..." +echo "alias vim='nvim'" >> .zshrc + +echo "Switch from Pathogen to vim-plug..." +curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +rm -rf ~/.vim/bundle +curl -fLo ~/.config/nvim/init.vim --create-dirs \ + https://lab.marcel-kapfer.de/config/init.vim + +echo "Installing Python 3 neovim plugin..." +sudo apt-get update +sudo apt-get install python3-pip +sudo pip3 install neovim + +echo "Remove vim-latexsuite package..." +sudo apt-get remove vim-latexsuite +sudo apt-get autoremove + +echo "Start now nvim of vim and execute the following commands: + :PlugInstall + :UpdateRemotePlugins +then restart neovim and enjoy your new neovim experience."