Last active
November 23, 2023 06:15
-
-
Save decipherpunk/27ce1c4720b5ad7c88a10bdde0e657ff to your computer and use it in GitHub Desktop.
my vim setup script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update package list | |
sudo apt-get update | |
# Install Vim | |
echo "Installing Vim..." | |
sudo apt-get install -y vim | |
# Install other dependencies (if any) | |
# Fetch .vimrc from the provided Gist URL | |
echo "Fetching .vimrc configuration..." | |
VIMRC_URL="https://gist.githubusercontent.com/logmedaily/c9668c2e7351c76a73bd0c9a2102e0da/raw/07e47bf04d2d3ea4d47548e06e20228151e724d8/vim.rc" | |
curl -fLo ~/.vimrc --create-dirs $VIMRC_URL | |
# Install vim-plug | |
echo "Installing vim-plug..." | |
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
# Install Vim plugins | |
echo "Installing Vim plugins..." | |
vim +'PlugInstall --sync' +qa | |
echo "Vim setup complete!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment