Skip to content

Instantly share code, notes, and snippets.

@gangster
Created February 5, 2024 22:33
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 gangster/59701645ef0f7d2923421934c73e0962 to your computer and use it in GitHub Desktop.
Save gangster/59701645ef0f7d2923421934c73e0962 to your computer and use it in GitHub Desktop.
CKA/CKAD Optimal Vim Config
set ts=2 sts=2 sw=2 " configure indentation to be 2 spaces
set expandtab " very important. prevents the insertion of TAB characters in the input. Expands tabs to 2 spaces.
set number ruler " turn on line numbers
set autoindent smartindent " convenience when editing yaml. auto-indents when pressing enter
syntax enable " enable syntax highlighting
filetype plugin indent on " turn on highlighting for any vim plugins
:set paste " Ensure copying/pasting works as expected within vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment