Ver código fonte

updates, add html snippets

Kevin Heinicke 10 anos atrás
pai
commit
7c5044e001
3 arquivos alterados com 41 adições e 1 exclusões
  1. 40 0
      .vim/UltiSnips/html.snippets
  2. 1 0
      .vimrc
  3. 0 1
      .zshrc

+ 40 - 0
.vim/UltiSnips/html.snippets

@@ -0,0 +1,40 @@
+## starters
+# html
+snippet html
+<!DOCTYPE html>
+<html lang="${1:en}">
+	<head>
+		<meta charset="utf-8">
+		<meta http-equiv="X-UA-Compatible" content="IE=edge">
+		<meta name="viewport" content="width=device-width, initial-scale=1">
+
+		<title>${2:Hello, World}</title>
+	</head>
+	<body>
+		${0}
+	</body>
+</html>
+endsnippet
+
+# html-bootstrap
+snippet htmlb
+<!DOCTYPE html>
+<html lang="${1:en}">
+	<head>
+		<meta charset="utf-8">
+		<meta http-equiv="X-UA-Compatible" content="IE=edge">
+		<meta name="viewport" content="width=device-width, initial-scale=1">
+
+		<title>${2:Hello, World}</title>
+
+		<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
+	</head>
+	<body>
+		<div class="container">
+			${0}
+		</div>
+		<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
+		<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
+	</body>
+</html>
+endsnippet

+ 1 - 0
.vimrc

@@ -144,6 +144,7 @@ let g:vebugger_leader = "."
 
 " activate mouse support
 set mouse=a
+set scrolloff=5
 
 syn keyword cppExceptions noexcept
 

+ 0 - 1
.zshrc

@@ -24,5 +24,4 @@ source $ZSH/oh-my-zsh.sh
 ### ALIASES ###
 # list directory in human readable (-h), listed (-l) way. Show all files (-a).
 # -F: display an indicator for special list entries (folder, links, etc...)
-alias ll='ls -Fhla | less -R'
 alias l='ls -lhatr'