Add skeleton.yaml

This commit is contained in:
Sage Vaillancourt 2024-01-22 11:17:11 -05:00
parent dc81332d01
commit 74050a766c
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,34 @@
---
apiVersion: v3
kind: Pod
metadata:
name: Some example YAML
spec:
simpleList:
- "Hello"
- "World!"
listOfMaps:
- name: front-end
image: nginx
ports:
- containerPort: 80
- name: web-reader
image: web-reader-engine
ports:
- containerPort: 88
---
aSecondDocument: In the same file!
preserveNewlines: |
Each of these
newlines will be
broken up.
autoWrap: >
This text is wrapped
and will be formed into
a single paragraph with
a trailing newline.

View File

@ -172,6 +172,7 @@ if has ("autocmd")
autocmd BufNewFile *.jsx 0r ~/.vim/templates/skeleton.jsx autocmd BufNewFile *.jsx 0r ~/.vim/templates/skeleton.jsx
autocmd BufNewFile *.tsx 0r ~/.vim/templates/skeleton.tsx autocmd BufNewFile *.tsx 0r ~/.vim/templates/skeleton.tsx
autocmd BufNewFile *.json 0r ~/.vim/templates/skeleton.json autocmd BufNewFile *.json 0r ~/.vim/templates/skeleton.json
autocmd BufNewFile *.yaml 0r ~/.vim/templates/skeleton.yaml
autocmd BufNewFile *.go 0r ~/.vim/templates/skeleton.go autocmd BufNewFile *.go 0r ~/.vim/templates/skeleton.go
autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile autocmd BufNewFile Makefile 0r ~/.vim/templates/Makefile
autocmd BufNewFile Dockerfile 0r ~/.vim/templates/Dockerfile autocmd BufNewFile Dockerfile 0r ~/.vim/templates/Dockerfile