remove abbreviations, move some into snippets
This commit is contained in:
parent
33fd21d06f
commit
d27b3caa9c
|
@ -1,4 +1,23 @@
|
||||||
snippet sld "/* stylelint-disable-next-line ... */"
|
snippet abs "pabs position: absolute;"
|
||||||
|
position: absolute;
|
||||||
|
endsnippet
|
||||||
|
snippet fix "position: fixed;"
|
||||||
|
position: fixed;
|
||||||
|
endsnippet
|
||||||
|
snippet rel "position: relative;"
|
||||||
|
position: relative;
|
||||||
|
endsnippet
|
||||||
|
snippet row "flex-direction: row;"
|
||||||
|
flex-direction: row;
|
||||||
|
endsnippet
|
||||||
|
snippet col "flex-direction: column;"
|
||||||
|
flex-direction: column;
|
||||||
|
endsnippet
|
||||||
|
snippet over "overflow: hidden;"
|
||||||
|
overflow: $0;
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet style "/* stylelint-disable-next-line ... */"
|
||||||
/* stylelint-disable-next-line ${1:declaration-block-no-shorthand-property-overrides} */
|
/* stylelint-disable-next-line ${1:declaration-block-no-shorthand-property-overrides} */
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
@ -29,7 +48,7 @@ linear-gradient(
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet bglg "background: linear-gradient ..."
|
snippet bglg "background: linear-gradient ..."
|
||||||
background: linear-gradient(
|
background-image: linear-gradient(
|
||||||
${2:to bottom},
|
${2:to bottom},
|
||||||
${3:transparent},
|
${3:transparent},
|
||||||
${4:transparent}
|
${4:transparent}
|
||||||
|
|
19
init.vim
19
init.vim
|
@ -360,31 +360,12 @@ inoremap jjrg <c-o>:reg<cr>
|
||||||
"----------------------------------------------------------------------------}}}
|
"----------------------------------------------------------------------------}}}
|
||||||
" #abbreviations {{{
|
" #abbreviations {{{
|
||||||
|
|
||||||
" spelling"{{{
|
|
||||||
iabbrev adn and
|
iabbrev adn and
|
||||||
iabbrev waht what
|
iabbrev waht what
|
||||||
iabbrev tehn then
|
iabbrev tehn then
|
||||||
iabbrev functin function
|
iabbrev functin function
|
||||||
iabbrev positin position
|
iabbrev positin position
|
||||||
|
|
||||||
"}}}
|
|
||||||
" css{{{
|
|
||||||
" TODO move these into autocommand to just load in css, scss, jsx, files
|
|
||||||
iabbrev pabs position: absolute;
|
|
||||||
iabbrev pfix position: fixed;
|
|
||||||
iabbrev prel position: relative;
|
|
||||||
iabbrev fdr flex-direction: row;
|
|
||||||
iabbrev fdc flex-direction: column;
|
|
||||||
iabbrev jcc justify-content: center;
|
|
||||||
iabbrev aic align-items: center;
|
|
||||||
iabbrev ovh overflow: hidden;
|
|
||||||
iabbrev ovv overflow: visible;
|
|
||||||
iabbrev ova overflow: auto;
|
|
||||||
|
|
||||||
iabbrev ct'' content-type: '';
|
|
||||||
|
|
||||||
"}}}
|
|
||||||
|
|
||||||
"----------------------------------------------------------------------------}}}
|
"----------------------------------------------------------------------------}}}
|
||||||
" #autocommands {{{
|
" #autocommands {{{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue