Skip to content

Instantly share code, notes, and snippets.

View nikolalsvk's full-sized avatar
🍍

Nikola Đuza nikolalsvk

🍍
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
:read ~/.vim/skeletons/react-typescript.tsx
autocmd BufNewFile *content/blog*.md 0r ~/.vim/skeletons/skeletons/blog-post.md
title description slug date published tags
TODO
TODO
TODO
2021-01-01
true
TODO
autocmd BufNewFile *.html 0r ~/.vim/skeletons/skeletons/page.html
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>TODO</title>
<meta name="description" content="Page description" />
<meta property="og:title" content="Unique page title - My Site" />
<meta property="og:description" content="Page description" />
<meta
autocmd BufNewFile *.sh 0r ~/.vim/skeletons/skeletons/script.sh
#!/usr/bin/env bash
set -eou pipefail
autocmd BufNewFile *.tsx 0r ~/.vim/skeletons/skeletons/typescript-react.tsx
import React from "react"
interface Props {}
const NewComponent = (props: Props) => {
return (
<>
<div></div>
</>
)