Skip to content

Instantly share code, notes, and snippets.

@adyavanapalli
Last active February 7, 2024 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adyavanapalli/18bf1ae8ae588963f7e2c1c377425005 to your computer and use it in GitHub Desktop.
Save adyavanapalli/18bf1ae8ae588963f7e2c1c377425005 to your computer and use it in GitHub Desktop.
Easy peasy .vimrc for all terminals good in the world.
" ------------------------------- "
" | Tab and Space Configuration | "
" ------------------------------- "
set tabstop=2 "Tab is 2 spaces in length."
set shiftwidth=2 "Indentation is 2 spaces in length."
set expandtab "Inserts space chars instead of tab."
set softtabstop=2 "Spaces in place of tabs still behave like tabs."
" ------------------------------ "
" | Line Numbers Configuration | "
" ------------------------------ "
set number
" ----------------------- "
" | Syntax Highlighting | "
" ----------------------- "
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment