Skip to content

Instantly share code, notes, and snippets.

@DevopsVlogger
Created May 2, 2021 08:46
Show Gist options
  • Save DevopsVlogger/bfcb3498fe48601482f95c21012c654c to your computer and use it in GitHub Desktop.
Save DevopsVlogger/bfcb3498fe48601482f95c21012c654c to your computer and use it in GitHub Desktop.
set ts=2
set sts=2
set sw=2
set expandtab
syntax on
filetype indent plugin on
set ruler
# Comment section
# set ts=2 -> Sets tabstop to 2 for working with YAML
# set sts=2 -> “softtabstop” makes spaces feel like tabs
# set sw=2 -> Sets the shift width to 2, making shift operations (<< or >>)
# set expandtab -> Expands tabs to spaces
# syntax on -> Enable syntax highlighting
# filetype indent plugin on -> For certain filetypes, enable automatic indenting
# set ruler -> Show column and line number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment