Personalizzazioni per emacs

This commit is contained in:
Fabio Scotto di Santolo
2019-12-07 12:02:37 +01:00
parent 950b3dce24
commit 3a59d8b46a
116 changed files with 1341 additions and 36 deletions

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: <body>...</body>
# key: body
# --
<body>
$0
</body>

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: <div class="...">\n...\n</div>
# key: div
# --
<div class="$1">
$0
</div>

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: <head>...</head>
# key: head
# --
<head>
$0
</head>

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: <html xmlns="...">...</html>
# key: html
# --
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
$0
</html>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <link stylesheet="..." />
# key: link
# --
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <meta http-equiv="..." content="..." />
# key: meta
# --
<meta http-equiv="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />

View File

@@ -0,0 +1,17 @@
# -*- mode: snippet -*-
# name: <project>...</project>
# key: pom
# --
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>${1:me.rexim}</groupId>
<artifactId>${2:artifactId}</artifactId>
<version>${3:0.0.1-SNAPSHOT}</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <script type="text/javascript" src="..."></title>
# key: script
# --
<script type="text/javascript" src="$1"></script>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <span class="...">\n...\n</span>
# key: span
# --
<span class="$1">$0</span>

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: <tag>\n...\n</tag>
# key: tag
# --
<${1:tag}$2>
$0
</$1>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <tag>...</tag>
# key: tag
# --
<${1:tag}$2>$0</$1>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <tag />
# key: tag
# --
<${1:tag} $2/>$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <title>...</title>
# key: title
# --
<title>$0</title>

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
# key: xml
# --
<?xml version="1.0" encoding="UTF-8" ?>