Skip to content

Instantly share code, notes, and snippets.

@GitarPlayer
Last active October 29, 2022 18:59
Show Gist options
  • Save GitarPlayer/e8f40def27de73c627c281126e300265 to your computer and use it in GitHub Desktop.
Save GitarPlayer/e8f40def27de73c627c281126e300265 to your computer and use it in GitHub Desktop.
set ts=2 sw=2 sts=2
set et
set nu ru
set ai si
set hlsearch
syntax on
filetype plugin indent on
@GitarPlayer
Copy link
Author

set tabstop shiftwidth and softtabstop to two because yaml wants two spaces
set expandtab expand tab to spaces
set number ruler show line numbers,
set autoindent smartindent if you hit enter the next line matches the proper indentation
syntax on # show syntax highlighting
highlight search results
filetype plugin indent on # let vim help you if it figures out the filetype

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