vim to neovim move script
This commit is contained in:
parent
f5fa08b540
commit
c087fce639
1 changed files with 24 additions and 0 deletions
24
vim-to-nvim.sh
Executable file
24
vim-to-nvim.sh
Executable file
|
@ -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."
|
Loading…
Reference in a new issue