Skip to content

Instantly share code, notes, and snippets.

@hammerill
Last active June 23, 2025 12:28
Show Gist options
  • Save hammerill/a93fc17d57547b9653a853961c33eecf to your computer and use it in GitHub Desktop.
Save hammerill/a93fc17d57547b9653a853961c33eecf to your computer and use it in GitHub Desktop.
Define Vim Config

Define Vim Config

VIMRC_PATH=/etc/vimrc # Adjust the path (differs in various distribs)

echo -e '\nset shiftwidth=4\nset smarttab\n\nsyntax on' | sudo tee -a "$VIMRC_PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment