Last active
May 15, 2025 23:47
-
-
Save markcallen/94e24420ee348ffddb72a7c9083c36c2 to your computer and use it in GitHub Desktop.
Create a miniminal vim installation
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
cat << EOF > $HOME/.vimrc-min | |
syntax on | |
set backspace=start,eol,indent | |
set hidden | |
set noswapfile | |
set expandtab | |
set tabstop=2 | |
set softtabstop=2 | |
set shiftwidth=2 | |
set relativenumber | |
set number | |
let \$RC="$HOME/.vimrc-min" | |
EOF | |
echo "vim-min setup" | |
echo "run: vim -u $HOME/.vimrc-min" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run use:
curl -s https://gist.githubusercontent.com/markcallen/94e24420ee348ffddb72a7c9083c36c2/raw/872f9b7d1556f78b0ce70af76172433ccb517d57/vim-min.sh?_=$(uuidgen) | bash