1
0
mirror of https://github.com/amix/vimrc synced 2025-06-17 02:15:01 +08:00

Updated plugins

This commit is contained in:
Amir Salihefendic
2019-08-22 17:36:17 +02:00
parent 6711ae6453
commit 3aefdbd21a
244 changed files with 9486 additions and 3395 deletions

View File

@ -333,6 +333,10 @@ snippet mailto "HTML <a mailto: >" w
<a href="mailto:${1:joe@example.com}?subject=${2:feedback}">${3:email me}</a>
endsnippet
snippet tel "HTML <a tel: >" w
<a href="tel:+${1:XX1234567890}">${2:call me}</a>
endsnippet
snippet main "<main>"
<main>
${1:main content}

View File

@ -1,6 +1,6 @@
priority -50
snippet #! "shebang"
snippet #! "#!/usr/bin/env node" b
#!/usr/bin/env node
endsnippet

View File

@ -3,7 +3,7 @@ priority -50
#################################
# Snippets for the Lua language #
#################################
snippet #! "Shebang header" b
snippet #! "#!/usr/bin/env lua" b
#!/usr/bin/env lua
$0
endsnippet

View File

@ -5,8 +5,12 @@ priority -50
###########################################################################
#! header
snippet #! "Shebang header for python scripts" b
snippet #! "#!/usr/bin/env python" b
#!/usr/bin/env python
$0
endsnippet
snippet "^# ?[uU][tT][fF]-?8" "# encoding: UTF-8" r
# -*- coding: utf-8 -*-
$0
endsnippet
@ -267,7 +271,7 @@ class ${1:MyClass}(${2:object}):
`!p snip.rv = triple_quotes(snip)`${3:Docstring for $1. }`!p snip.rv = triple_quotes(snip)`
def __init__(self$4):
`!p snip.rv = triple_quotes(snip)`${5:TODO: to be defined1.}`!p
`!p snip.rv = triple_quotes(snip)`${5:TODO: to be defined.}`!p
snip.rv = ""
snip >> 2

View File

@ -15,8 +15,9 @@ FIELD_TYPES = [
'vector']
endglobal
snippet #! "Hashbang for Rscript (#!)" b
snippet #! "#!/usr/bin/env Rscript" b
#!/usr/bin/env Rscript
$0
endsnippet
snippet setwd "Set workingdir" b

View File

@ -21,7 +21,7 @@ endglobal
# Snippets
#
snippet "^#!" "#!/usr/bin/env ruby" r
snippet #! "#!/usr/bin/env ruby" b
#!/usr/bin/env ruby
$0
endsnippet

View File

@ -25,12 +25,8 @@ endglobal
###########################################################################
# TextMate Snippets #
###########################################################################
snippet #!
`!p snip.rv = '#!/bin/' + getShell() + "\n\n" `
endsnippet
snippet !env "#!/usr/bin/env (!env)"
`!p snip.rv = '#!/usr/bin/env ' + getShell() + "\n\n" `
snippet #! "#!/usr/bin/env (!env)" b
`!p snip.rv = '#!/usr/bin/env ' + getShell() + "\n" `
endsnippet
snippet sbash "safe bash options"

View File

@ -85,7 +85,7 @@ snippet fig "Figure environment" b
\begin{figure}[${2:htpb}]
\centering
\includegraphics[width=${3:0.8}\linewidth]{${4:name.ext}}
\caption{${4/(\w+)\.\w+/\u$1/}$0}
\caption{${4/(\w+)\.\w+/\u$1/}$0}%
\label{fig:${4/(\w+)\.\w+/$1/}}
\end{figure}
endsnippet

View File

@ -4,14 +4,9 @@ extends sh
priority -49
snippet #! "shebang" b
#!/bin/zsh
endsnippet
snippet !env "#!/usr/bin/env (!env)" b
snippet #! "#!/usr/bin/env zsh" b
#!/usr/bin/env zsh
$0
endsnippet
# vim:ft=snippets:

View File

@ -62,9 +62,13 @@ snippet pqueue
# std::shared_ptr
snippet msp
std::shared_ptr<${1:T}> ${2} = std::make_shared<$1>(${3});
snippet amsp
auto ${1} = std::make_shared<${2:T}>(${3});
# std::unique_ptr
snippet mup
std::unique_ptr<${1:T}> ${2} = std::make_unique<$1>(${3});
snippet amup
auto ${1} = std::make_unique<${2:T}>(${3});
##
## Access Modifiers
# private

View File

@ -36,45 +36,71 @@ snippet @m "@media mediatype { }"
${2:${VISUAL}}
}${0}
snippet ac
align-content: ${0:stretch};
align-content: ${1:stretch};
snippet ac:s
align-content: start;
snippet ac:e
align-content: end;
snippet ac:c
align-content: center;
snippet ac:fe
align-content: flex-end;
snippet ac:fs
align-content: flex-start;
snippet ac:sa
align-content: space-around;
snippet ac:fe
align-content: flex-end;
snippet ac:sb
align-content: space-between;
snippet ac:s
snippet ac:sa
align-content: space-around;
snippet ac:se
align-content: space-evenly;
snippet ac:st
align-content: stretch;
snippet ac:b
align-content: baseline;
snippet ac:fb
align-content: first baseline;
snippet ac:lb
align-content: last baseline;
snippet ai
align-items: ${0:stretch};
snippet ai:b
align-items: baseline;
align-items: ${1:stretch};
snippet ai:s
align-items: start;
snippet ai:e
align-items: end;
snippet ai:c
align-items: center;
snippet ai:fe
align-items: flex-end;
snippet ai:fs
align-items: flex-start;
snippet ai:s
snippet ai:fe
align-items: flex-end;
snippet ai:st
align-items: stretch;
snippet ai:b
align-items: baseline;
snippet ai:fb
align-items: first baseline;
snippet ai:lb
align-items: last baseline;
snippet as
align-self: ${0};
snippet as:a
align-self: auto;
snippet as:b
align-self: baseline;
align-self: ${1:stretch};
snippet as:s
align-self: start;
snippet as:e
align-self: end;
snippet as:c
align-self: center;
snippet as:fe
align-self: flex-end;
snippet as:st
align-self: stretch;
snippet as:fs
align-self: flex-start;
snippet as:s
align-self: stretch;
snippet as:fe
align-self: flex-end;
snippet as:b
align-self: baseline;
snippet as:fb
align-self: first baseline;
snippet as:lb
align-self: last baseline;
snippet bg+
background: #${1:fff} url(${2}) ${3:0} ${4:0} ${5:no-repeat};${0}
snippet bga
@ -423,6 +449,8 @@ snippet d:b
display: block;
snippet d:cp
display: compact;
snippet d:g
display: grid;
snippet d:f
display: flex;
snippet d:ib
@ -605,24 +633,122 @@ snippet fw:n
font-weight: normal;
snippet f
font: ${1};${0}
snippet g
grid: ${1};
snippet gaf
grid-auto-flow: ${1:row};
snippet gaf+
grid-auto-flow: ${1:row} ${2:dense};
snippet gaf:r
grid-auto-flow: row;
snippet gaf:c
grid-auto-flow: column;
snippet gaf:d
grid-auto-flow: dense;
snippet gaf:rd
grid-auto-flow: row dense;
snippet gaf:cd
grid-auto-flow: column dense;
snippet gar
grid-auto-rows: ${1};
snippet gar:a
grid-auto-rows: auto
snippet gar:mac
grid-auto-rows: max-content;
snippet gar:mic
grid-auto-rows: min-content;
snippet gac
grid-auto-columns: ${1};
snippet gac:a
grid-auto-columns: auto
snippet gac:mac
grid-auto-columns: max-content;
snippet gac:mic
grid-auto-columns: min-content;
snippet gt
grid-template: ${1};
snippet gt+
grid-template: ${1} / ${2};
snippet gtr
grid-template-rows: ${1};
snippet gtc
grid-template-columns: ${1};
snippet gta
grid-template-areas: ${1};
snippet gg
grid-gap: ${1};
snippet gg+
grid-gap: ${1} ${2};
snippet gg:0
grid-gap: 0;
snippet grg
grid-row-gap: ${1};
snippet grg:0
grid-row-gap: 0;
snippet gcg
grid-column-gap: ${1};
snippet gcg:0
grid-column-gap: 0;
snippet gr
grid-row: ${1} / ${2};
snippet grs
grid-row-start: ${1};
snippet gre
grid-row-end: ${1};
snippet gc
grid-column: ${1} / ${2};
snippet gcs
grid-column-start: ${1};
snippet gce
grid-column-end: ${1};
snippet h
height: ${1};${0}
snippet h:a
height: auto;
snippet jc
justify-content: ${0:flex-start};
justify-content: ${1};
snippet jc:s
justify-content: start;
snippet jc:e
justify-content: end;
snippet jc:c
justify-content: center;
snippet jc:fe
justify-content: flex-end;
snippet jc:fs
justify-content: flex-start;
snippet jc:sa
justify-content: space-around;
snippet jc:fe
justify-content: flex-end;
snippet jc:sb
justify-content: space-between;
snippet jc:sa
justify-content: space-around;
snippet jc:se
justify-content: space-evenly;
snippet jc:st
justify-content: space-evenly;
snippet jc:l
justify-content: left;
snippet jc:r
justify-content: right;
snippet ji
justify-items: ${1:stretch};
snippet ji:s
justify-items: start;
snippet ji:e
justify-items: end;
snippet ji:c
justify-items: center;
snippet ji:st
justify-items: stretch;
snippet js
justify-self: ${1:stretch};
snippet js:s
justify-self: start;
snippet js:e
justify-self: end;
snippet js:c
justify-self: center;
snippet js:st
justify-self: stretch;
snippet l
left: ${1};${0}
snippet l:a
@ -789,6 +915,28 @@ snippet p:2
padding: ${1:0} ${2:0};${0}
snippet p:0
padding: 0;
snippet pc
place-content: ${1};
snippet pc+
place-content: ${1} ${2};
snippet pc:s
place-content: start;
snippet pc:e
place-content: end;
snippet pc:c
place-content: center;
snippet pc:fs
place-content: flex-start;
snippet pc:fe
place-content: flex-end;
snippet pc:sb
place-content: space-between;
snippet pc:sa
place-content: space-around;
snippet pc:se
place-content: space-evenly;
snippet pc:st
place-content: stretch;
snippet pgba
page-break-after: ${1};${0}
snippet pgba:aw
@ -815,6 +963,17 @@ snippet pgbi:a
page-break-inside: auto;
snippet pgbi:av
page-break-inside: avoid;
snippet pi
place-items: ${1:stretch};
snippet pi+
place-items: ${1:stretch} ${2:stretch};
snippet pi:s
place-items: start;
snippet pi:e
place-items: end;
snippet pi:c
place-items: center;
snippet pi:st
snippet pos
position: ${1};${0}
snippet pos:a
@ -825,6 +984,18 @@ snippet pos:r
position: relative;
snippet pos:s
position: static;
snippet ps
place-self: ${1:stretch};
snippet ps+
place-self: ${1:stretch} ${2:stretch};
snippet ps:s
place-self: start;
snippet ps:e
place-self: end;
snippet ps:c
place-self: center;
snippet ps:st
place-self: stretch;
snippet q
quotes: ${1};${0}
snippet q:en

View File

@ -1,9 +1,11 @@
extends html
snippet %
snippet % <% %>
<% ${0} %>
snippet =
snippet = <%= %>
<%= ${0} %>
snippet # <%# %>
<%# ${0} %>
snippet end
<% end %>
snippet for
@ -20,13 +22,35 @@ snippet ife
<% else %>
${0}
<% end %>
snippet ft
snippet cond
<%= cond do %>
<% ${1} -> %>
${2:${VISUAL}}
<% true -> %>
${0}
<% end %>
snippet unless
<%= unless ${1} do %>
${0:${VISUAL}}
<% end %>
snippet ft form_tag
<%= form_tag(${1:"/users"}, method: ${2::post}) %>
${0}
</form>
snippet lin
snippet et error_tag
<%= error_tag ${1:f}, :${2:field} %>
snippet ti text_input
<%= text_input ${1:f}, :${2:field} %>
snippet la label
<%= label ${1:f}, :${2:field}, "${3:Label}" %>
snippet pi password_input
<%= password_input ${1:f}, :${2:password} %>
snippet render
<%= render "${1:index}.html", ${2:var: @var} %>
snippet lin link
<%= link "${1:Submit}", to: ${2:"/users"}, method: ${3::delete} %>
snippet ff
snippet ff form_for
<%= form_for @changeset, ${1:"/users"}, fn f -> %>
${0}

View File

@ -31,9 +31,6 @@ snippet cs "case"
case ${1:value}:
${0:${VISUAL}}
snippet c "const"
const ${1:NAME} = ${0:0}
snippet co "constants with iota"
const (
${1:NAME1} = iota
@ -53,9 +50,6 @@ snippet dfr "defer recover"
}
}()
snippet i "int"
int
snippet im "import"
import (
"${1:package}"

View File

@ -1,7 +1,7 @@
snippet ir
import React from 'react';
snippet irc
import React, {Component} from 'react';
import React, { Component } from 'react';
snippet ird
import ReactDOM from 'react-dom';
snippet cdm
@ -42,11 +42,24 @@ snippet pt
static propTypes = {
${1}: React.PropTypes.${2:type},
}
snippet rfc
const ${1:ComponentName} = (${2:props}) => {
return (
<div>
$1
</div>
);
}
snippet rcc
class ${1:ClassName} extends React.Component {
state = {
}
render() {
return (
${0:<div />}
<div>
$1
</div>
);
}
}

View File

@ -0,0 +1,37 @@
snippet ist
import { createStore } from 'redux';
snippet con
connect(${1:mapStateToProps}, ${2:mapDispatchToProps})(<${3:VISUAL}/>);
snippet act
const ${1:actionName} = (${2:arg}) => {
return {
type: ${3:VISUAL},
$2
};
};
snippet rdc
const ${1:reducerName} = (state={}, action) => {
switch(action.type) {
case ${1:action}:
return {
...state,
$2
};
default:
return state;
};
};
snippet mstp
const mapStateToProps = (state) => {
return {
${1:propName}: state.$1,
};
};
snippet mdtp
const mapDispatchToProps = (dispatch) => {
return {
${1:propName}: () => {
dispatch(${2:actionName}());
},
};
};

View File

@ -1,55 +0,0 @@
snippet const
const ${1} = ${0};
snippet let
let ${1} = ${0};
snippet im "import xyz from 'xyz'"
import ${1} from '${2:$1}';
snippet imas "import * as xyz from 'xyz'"
import * as ${1} from '${2:$1}';
snippet imm "import { member } from 'xyz'"
import { ${1} } from '${2}';
snippet cla
class ${1} {
${0:${VISUAL}}
}
snippet clax
class ${1} extends ${2} {
${0:${VISUAL}}
}
snippet clac
class ${1} {
constructor(${2}) {
${0:${VISUAL}}
}
}
snippet foro "for (const prop of object}) { ... }"
for (const ${1:prop} of ${2:object}) {
${0:$1}
}
# Generator
snippet fun*
function* ${1:function_name}(${2}) {
${0:${VISUAL}}
}
snippet c=>
const ${1:function_name} = (${2}) => {
${0:${VISUAL}}
}
snippet caf
const ${1:function_name} = (${2}) => {
${0:${VISUAL}}
}
snippet =>
(${1}) => {
${0:${VISUAL}}
}
snippet af
(${1}) => {
${0:${VISUAL}}
}
snippet sym
const ${1} = Symbol('${0}');
snippet ed
export default ${0}
snippet ${
${${1}}${0}

View File

@ -5,10 +5,14 @@ snippet proto
${0:${VISUAL}}
};
# Function
snippet fun
snippet fun "function"
function ${1:function_name}(${2}) {
${0:${VISUAL}}
}
snippet fun "async function"
async function ${1:function_name}(${2}) {
${0:${VISUAL}}
}
# Anonymous Function
snippet anf "" w
function(${1}) {
@ -202,8 +206,6 @@ snippet @par
@param {${1:type}} ${2:name} ${0:description}
snippet @ret
@return {${1:type}} ${0:description}
# JSON
# JSON.parse
snippet jsonp
JSON.parse(${0:jstr});
@ -273,9 +275,64 @@ snippet cprof "console.profile"
snippet ctable "console.table"
console.table(${1:"${2:value}"});
# Misc
# 'use strict';
snippet us
'use strict';
# setTimeout function
snippet timeout
setTimeout(function () {${0}}${2}, ${1:10});
snippet const
const ${1} = ${0};
snippet let
let ${1} = ${0};
snippet im "import xyz from 'xyz'"
import ${1} from '${2:$1}';
snippet imas "import * as xyz from 'xyz'"
import * as ${1} from '${2:$1}';
snippet imm "import { member } from 'xyz'"
import { ${1} } from '${2}';
snippet cla
class ${1} {
${0:${VISUAL}}
}
snippet clax
class ${1} extends ${2} {
${0:${VISUAL}}
}
snippet clac
class ${1} {
constructor(${2}) {
${0:${VISUAL}}
}
}
snippet foro "for (const prop of object}) { ... }"
for (const ${1:prop} of ${2:object}) {
${0:$1}
}
snippet fun*
function* ${1:function_name}(${2}) {
${0:${VISUAL}}
}
snippet c=>
const ${1:function_name} = (${2}) => {
${0:${VISUAL}}
}
snippet caf
const ${1:function_name} = (${2}) => {
${0:${VISUAL}}
}
snippet =>
(${1}) => {
${0:${VISUAL}}
}
snippet af
(${1}) => {
${0:${VISUAL}}
}
snippet sym
const ${1} = Symbol('${0}');
snippet ed
export default ${0}
snippet ${
${${1}}${0}
snippet aw "await"
await ${0:${VISUAL}}

View File

@ -34,6 +34,72 @@ snippet while
${0:${VISUAL}}
snippet !
!important
snippet ac
align-content: ${0}
snippet ac:s
align-content: start
snippet ac:e
align-content: end
snippet ac:c
align-content: center
snippet ac:fs
align-content: flex-start
snippet ac:fe
align-content: flex-end
snippet ac:sb
align-content: space-between
snippet ac:sa
align-content: space-around
snippet ac:se
align-content: space-evenly
snippet ac:st
align-content: stretch
snippet ac:b
align-content: baseline
snippet ac:fb
align-content: first baseline
snippet ac:lb
align-content: last baseline
snippet ai
align-items: ${0}
snippet ai:s
align-items: start
snippet ai:e
align-items: end
snippet ai:c
align-items: center
snippet ai:fs
align-items: flex-start
snippet ai:fe
align-items: flex-end
snippet ai:st
align-items: stretch
snippet ai:b
align-items: baseline
snippet ai:fb
align-items: first baseline
snippet ai:lb
align-items: last baseline
snippet as
align-self: ${0}
snippet as:s
align-self: start
snippet as:e
align-self: end
snippet as:c
align-self: center
snippet as:st
align-self: stretch
snippet as:fs
align-self: flex-start
snippet as:fe
align-self: flex-end
snippet as:b
align-self: baseline
snippet as:fb
align-self: first baseline
snippet as:lb
align-self: last baseline
snippet bdi:m+
-moz-border-image: url('${1}') ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${0:stretch}
snippet bdi:m
@ -411,6 +477,10 @@ snippet d:b
display: block
snippet d:cp
display: compact
snippet d:g
display: grid
snippet d:f
display: flex
snippet d:ib
display: inline-block
snippet d:itb
@ -561,10 +631,122 @@ snippet fw:n
font-weight: normal
snippet f
font: ${0}
snippet g
grid: ${0}
snippet gaf
grid-auto-flow: ${0}
snippet gaf+
grid-auto-flow: ${1:row} ${0:dense}
snippet gaf:r
grid-auto-flow: row
snippet gaf:c
grid-auto-flow: column
snippet gaf:d
grid-auto-flow: dense
snippet gaf:rd
grid-auto-flow: row dense
snippet gaf:cd
grid-auto-flow: column dense
snippet gar
grid-auto-rows: ${0}
snippet gar:a
grid-auto-rows: auto
snippet gar:mac
grid-auto-rows: max-content
snippet gar:mic
grid-auto-rows: min-content
snippet gac
grid-auto-columns: ${0}
snippet gac:a
grid-auto-columns: auto
snippet gac:mac
grid-auto-columns: max-content
snippet gac:mic
grid-auto-columns: min-content
snippet gt
grid-template: ${0}
snippet gt+
grid-template: ${1} / ${0}
snippet gtr
grid-template-rows: ${0}
snippet gtc
grid-template-columns: ${0}
snippet gta
grid-template-areas: ${0}
snippet gg
grid-gap: ${0}
snippet gg+
grid-gap: ${1} ${0}
snippet gg:0
grid-gap: 0
snippet grg
grid-row-gap: ${0}
snippet grg:0
grid-row-gap: 0
snippet gcg
grid-column-gap: ${0}
snippet gcg:0
grid-column-gap: 0
snippet gr
grid-row: ${1} / ${0}
snippet grs
grid-row-start: ${0}
snippet gre
grid-row-end: ${0}
snippet gc
grid-column: ${1} / ${0}
snippet gcs
grid-column-start: ${0}
snippet gce
grid-column-end: ${0}
snippet h
height: ${0}
snippet h:a
height: auto
snippet jc
justify-content: ${0}
snippet jc:s
justify-content: start
snippet jc:e
justify-content: end
snippet jc:c
justify-content: center
snippet jc:fs
justify-content: flex-start
snippet jc:fe
justify-content: flex-end
snippet jc:sb
justify-content: space-between
snippet jc:sa
justify-content: space-around
snippet jc:se
justify-content: space-evenly
snippet jc:st
justify-content: space-evenly
snippet jc:l
justify-content: left
snippet jc:r
justify-content: right
snippet ji
justify-items: ${0}
snippet ji:s
justify-items: start
snippet ji:e
justify-items: end
snippet ji:c
justify-items: center
snippet ji:st
justify-items: stretch
snippet js
justify-self: ${0}
snippet js:s
justify-self: start
snippet js:e
justify-self: end
snippet js:c
justify-self: center
snippet js:st
justify-self: stretch
snippet l
left: ${0}
snippet l:a
@ -729,6 +911,28 @@ snippet p:2
padding: ${1:0} ${0:0}
snippet p:0
padding: 0
snippet pc
place-content: ${0}
snippet pc+
place-content: ${1} ${0}
snippet pc:s
place-content: start
snippet pc:e
place-content: end
snippet pc:c
place-content: center
snippet pc:fs
place-content: flex-start
snippet pc:fe
place-content: flex-end
snippet pc:sb
place-content: space-between
snippet pc:sa
place-content: space-around
snippet pc:se
place-content: space-evenly
snippet pc:st
place-content: stretch
snippet pgba
page-break-after: ${0}
snippet pgba:aw
@ -755,6 +959,18 @@ snippet pgbi:a
page-break-inside: auto
snippet pgbi:av
page-break-inside: avoid
snippet pi
place-items: ${0}
snippet pi+
place-items: ${1:stretch} ${0:stretch}
snippet pi:s
place-items: start
snippet pi:e
place-items: end
snippet pi:c
place-items: center
snippet pi:st
place-items: stretch
snippet pos
position: ${0}
snippet pos:a
@ -765,6 +981,18 @@ snippet pos:r
position: relative
snippet pos:s
position: static
snippet ps
place-self: ${0}
snippet ps+
place-self: ${1:stretch} ${0:stretch}
snippet ps:s
place-self: start
snippet ps:e
place-self: end
snippet ps:c
place-self: center
snippet ps:st
place-self: stretch
snippet q
quotes: ${0}
snippet q:en

View File

@ -1,5 +1,71 @@
snippet !
!important
snippet ac
align-content ${0}
snippet ac:s
align-content start
snippet ac:e
align-content end
snippet ac:c
align-content center
snippet ac:fs
align-content flex-start
snippet ac:fe
align-content flex-end
snippet ac:sb
align-content space-between
snippet ac:sa
align-content space-around
snippet ac:se
align-content space-evenly
snippet ac:st
align-content stretch
snippet ac:b
align-content baseline
snippet ac:fb
align-content first baseline
snippet ac:lb
align-content last baseline
snippet ai
align-items ${0}
snippet ai:s
align-items start
snippet ai:e
align-items end
snippet ai:c
align-items center
snippet ai:fs
align-items flex-start
snippet ai:fe
align-items flex-end
snippet ai:st
align-items stretch
snippet ai:b
align-items baseline
snippet ai:fb
align-items first baseline
snippet ai:lb
align-items last baseline
snippet as
align-self ${0}
snippet as:s
align-self start
snippet as:e
align-self end
snippet as:c
align-self center
snippet as:st
align-self stretch
snippet as:fs
align-self flex-start
snippet as:fe
align-self flex-end
snippet as:b
align-self baseline
snippet as:fb
align-self first baseline
snippet as:lb
align-self last baseline
snippet bdi:m+
-moz-border-image url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${0:stretch}
snippet bdi:m
@ -379,10 +445,12 @@ snippet d:mis
display -moz-inline-stack
snippet d:b
display block
snippet d:f
display flex
snippet d:cp
display compact
snippet d:g
display grid
snippet d:f
display flex
snippet d:ib
display inline-block
snippet d:itb
@ -533,6 +601,74 @@ snippet fw:n
font-weight normal
snippet f
font ${0}
snippet g
grid ${0}
snippet gaf
grid-auto-flow ${0}
snippet gaf+
grid-auto-flow ${1:row} ${0:dense}
snippet gaf:r
grid-auto-flow row
snippet gaf:c
grid-auto-flow column
snippet gaf:d
grid-auto-flow dense
snippet gaf:rd
grid-auto-flow row dense
snippet gaf:cd
grid-auto-flow column dense
snippet gar
grid-auto-rows ${0}
snippet gar:a
grid-auto-rows auto
snippet gar:mac
grid-auto-rows max-content
snippet gar:mic
grid-auto-rows min-content
snippet gac
grid-auto-columns ${0}
snippet gac:a
grid-auto-columns auto
snippet gac:mac
grid-auto-columns max-content
snippet gac:mic
grid-auto-columns min-content
snippet gt
grid-template ${0}
snippet gt+
grid-template ${1} / ${0}
snippet gtr
grid-template-rows ${0}
snippet gtc
grid-template-columns ${0}
snippet gta
grid-template-areas ${0}
snippet gg
grid-gap ${0}
snippet gg+
grid-gap ${1} ${0}
snippet gg:0
grid-gap 0
snippet grg
grid-row-gap ${0}
snippet grg:0
grid-row-gap 0
snippet gcg
grid-column-gap ${0}
snippet gcg:0
grid-column-gap 0
snippet gr
grid-row ${1} / ${0}
snippet grs
grid-row-start ${0}
snippet gre
grid-row-end ${0}
snippet gc
grid-column ${1} / ${0}
snippet gcs
grid-column-start ${0}
snippet gce
grid-column-end ${0}
snippet h
height ${0}
snippet h:a
@ -701,6 +837,28 @@ snippet p:2
padding ${1:0} ${0:0}
snippet p:0
padding 0
snippet pc
place-content ${0}
snippet pc+
place-content ${1} ${0}
snippet pc:s
place-content start
snippet pc:e
place-content end
snippet pc:c
place-content center
snippet pc:fs
place-content flex-start
snippet pc:fe
place-content flex-end
snippet pc:sb
place-content space-between
snippet pc:sa
place-content space-around
snippet pc:se
place-content space-evenly
snippet pc:st
place-content stretch
snippet pgba
page-break-after ${0}
snippet pgba:aw
@ -727,6 +885,18 @@ snippet pgbi:a
page-break-inside auto
snippet pgbi:av
page-break-inside avoid
snippet pi
place-items ${0}
snippet pi+
place-items ${1:stretch} ${0:stretch}
snippet pi:s
place-items start
snippet pi:e
place-items end
snippet pi:c
place-items center
snippet pi:st
place-items stretch
snippet pos
position ${0}
snippet pos:a
@ -737,6 +907,18 @@ snippet pos:r
position relative
snippet pos:s
position static
snippet ps
place-self ${0}
snippet ps+
place-self ${1:stretch} ${0:stretch}
snippet ps:s
place-self start
snippet ps:e
place-self end
snippet ps:c
place-self center
snippet ps:st
place-self stretch
snippet q
quotes ${0}
snippet q:en
@ -993,7 +1175,47 @@ snippet for
for ${1:i} in ${0}
snippet keyf
@keyframes ${0}
snippet jc
justify-content ${0}
snippet jc:s
justify-content start
snippet jc:e
justify-content end
snippet jc:c
justify-content center
snippet jc
justify-content
snippet jc:fs
justify-content flex-start
snippet jc:fe
justify-content flex-end
snippet jc:sb
justify-content space-between
snippet jc:sa
justify-content space-around
snippet jc:se
justify-content space-evenly
snippet jc:st
justify-content space-evenly
snippet jc:l
justify-content left
snippet jc:r
justify-content right
snippet ji
justify-items ${0}
snippet ji:s
justify-items start
snippet ji:e
justify-items end
snippet ji:c
justify-items center
snippet ji:st
justify-items stretch
snippet js
justify-self ${0}
snippet js:s
justify-self start
snippet js:e
justify-self end
snippet js:c
justify-self center
snippet js:st
justify-self stretch

View File

@ -248,7 +248,7 @@ snippet tikz figure environment (tikzpicture)
${2}
\\end{tikzpicture}
\\end{center}
\\caption{${3}}
\\caption{${3}}%
\\label{fig:${4}}
\\end{figure}
${0}