add html/css templates
This commit is contained in:
		
							parent
							
								
									96bc2b0b98
								
							
						
					
					
						commit
						c2963b69ad
					
				
							
								
								
									
										10
									
								
								init.vim
								
								
								
								
							
							
						
						
									
										10
									
								
								init.vim
								
								
								
								
							| 
						 | 
					@ -439,13 +439,9 @@ iabbrev ct'' content-type: '';
 | 
				
			||||||
  augroup templates
 | 
					  augroup templates
 | 
				
			||||||
    autocmd!
 | 
					    autocmd!
 | 
				
			||||||
    autocmd BufNewFile *.sh 0read ~/.config/nvim/templates/template.sh | normal G
 | 
					    autocmd BufNewFile *.sh 0read ~/.config/nvim/templates/template.sh | normal G
 | 
				
			||||||
  augroup END
 | 
					    autocmd BufNewFile *.html 0read ~/.config/nvim/templates/template.html | normal gg
 | 
				
			||||||
 | 
					    autocmd BufNewFile *.css 0read ~/.config/nvim/templates/template.css | normal G
 | 
				
			||||||
"  }}}
 | 
					    autocmd BufNewFile *.scss 0read ~/.config/nvim/templates/template.css | normal G
 | 
				
			||||||
"   template files {{{
 | 
					 | 
				
			||||||
  augroup templates
 | 
					 | 
				
			||||||
    autocmd!
 | 
					 | 
				
			||||||
    autocmd BufNewFile *.sh 0read ~/.config/nvim/templates/template.sh | normal G
 | 
					 | 
				
			||||||
  augroup END
 | 
					  augroup END
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"  }}}
 | 
					"  }}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,15 @@
 | 
				
			||||||
 | 
					html,
 | 
				
			||||||
 | 
					body {
 | 
				
			||||||
 | 
					  padding: 0;
 | 
				
			||||||
 | 
					  margin: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body {
 | 
				
			||||||
 | 
					  font-size: 100%;
 | 
				
			||||||
 | 
					  box-sizing: border-box;
 | 
				
			||||||
 | 
					  background-color: pink;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* {
 | 
				
			||||||
 | 
					  box-sizing: inherit;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,31 @@
 | 
				
			||||||
 | 
					<!DOCTYPE HTML>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
						<head>
 | 
				
			||||||
 | 
							<meta charset="utf-8">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<title>THE TITLE IS THIS!</title>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<meta name="viewport" content="width=device-width, initial-scale=1" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<meta name="description" content="THE DESCRIPTION IS THIS!">
 | 
				
			||||||
 | 
							<meta name="author" content="I AM THE AUTHOR">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<link rel="stylesheet" href="css/styles.css">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<header>
 | 
				
			||||||
 | 
							</header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<main>
 | 
				
			||||||
 | 
							</main>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<footer>
 | 
				
			||||||
 | 
							</footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<script src="js/scripts.js"></script>
 | 
				
			||||||
 | 
						</body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
		Loading…
	
		Reference in New Issue