My personal Vim setup for Linux, macOS, and Windows. Inspired by irrigger/ir-vim.
The installers are idempotent, so you can run them multiple times to update. Each installer will:
- Install any missing dependencies (git and vim)
- Set up your vim files in the appropriate location
- Configure ~/.vimrc and ~/.ideavimrc to point to the setup
- Install Vundle and all plugins listed in your .vimrc
| Linux / macOS | Windows | |
|---|---|---|
| Vim files go | ~/.vim |
%USERPROFILE%\vimfiles |
| Installer | install.sh |
install.ps1 |
Option 1: Download and run the installer
curl -fsSL https://raw.githubusercontent.com/aaronbcarlisle/abc-vim/master/install.sh -o abc-vim-install.sh
less abc-vim-install.sh # review before running -- it installs packages and moves files in $HOME
sh abc-vim-install.shOption 2: Clone first, then install from your local copy
git clone https://github.com/aaronbcarlisle/abc-vim.git ~/.vim
sh ~/.vim/install.shOption 1: Download and run the installer
iwr -useb https://raw.githubusercontent.com/aaronbcarlisle/abc-vim/master/install.ps1 -OutFile abc-vim-install.ps1
notepad abc-vim-install.ps1 # review before running -- it installs packages and moves files in $HOME
powershell -ExecutionPolicy Bypass -File abc-vim-install.ps1Option 2: Clone first, then install from your local copy
git clone https://github.com/aaronbcarlisle/abc-vim.git $env:USERPROFILE\vimfiles
powershell -ExecutionPolicy Bypass -File $env:USERPROFILE\vimfiles\install.ps1- Installing from a local checkout: If you run the installer from a cloned repository, it installs from that local copy (including any uncommitted changes). If you download the installer standalone, it clones the remote repository instead.
- Safe file handling: Existing files are never overwritten. If abc-vim is already installed, it updates with
git pull --ff-only. Any other existing files, including ~/.vimrc or ~/.ideavimrc, are moved to a timestamped .bak file first. - Package manager detection: Dependencies are installed using whatever package manager is available on your system (apt, dnf, yum, pacman, zypper, apk, brew, or port on Unix; winget, choco, or scoop on Windows). If no package manager is found, the installer will stop and let you know what's missing.
- Windows symlinks: Creating symlinks on Windows requires Developer Mode or an admin shell. If these aren't available, the installer copies the config files instead. Note that edits to copied files won't sync with the repository.
- Custom fork installation: Set the
ABC_VIM_REPOenvironment variable to install from your own fork.
Plugins, managed by Vundle:
- jlanzarotta/bufexplorer
- jiangmiao/auto-pairs
- nvie/vim-flake8
- octol/vim-cpp-enhanced-highlight
- preservim/nerdcommenter
- tpope/vim-fugitive
Vendored, not installed by Vundle:
- w0ng/vim-hybrid — shipped directly as
colors/hybrid.vim, so:PluginInstallwill not fetch it