Skip to content

Instantly share code, notes, and snippets.

@markcallen
Last active May 15, 2025 23:47
Show Gist options
  • Save markcallen/94e24420ee348ffddb72a7c9083c36c2 to your computer and use it in GitHub Desktop.
Save markcallen/94e24420ee348ffddb72a7c9083c36c2 to your computer and use it in GitHub Desktop.
Create a miniminal vim installation
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"
@markcallen
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment