update
This commit is contained in:
parent
fe8bfcd1f3
commit
d06d3b0cc3
|
@ -40,6 +40,12 @@ snippet .fe "...forEach( ... );" i
|
|||
});
|
||||
endsnippet
|
||||
|
||||
snippet wae "window.addEventListener( ... );"
|
||||
window.addEventListener('$1', ($2) => {
|
||||
$0
|
||||
});
|
||||
endsnippet
|
||||
|
||||
snippet .ael "...addEventListener( ... );" i
|
||||
.addEventListener('$1', ($2) => {
|
||||
$0
|
||||
|
@ -185,3 +191,22 @@ export default `!p snip.rv = snip.basename`
|
|||
|
||||
endsnippet
|
||||
|
||||
snippet ue "useEffect(() => {"
|
||||
useEffect(() => {
|
||||
$0
|
||||
}, ${1:[]});
|
||||
endsnippet
|
||||
|
||||
snippet ule "useLayoutEffect(() => {"
|
||||
useLayoutEffect(() => {
|
||||
$0
|
||||
}, ${1:[]});
|
||||
endsnippet
|
||||
|
||||
snippet imp "import ... from ..."
|
||||
import $1 from "${2:.}/$1";
|
||||
endsnippet
|
||||
|
||||
snippet impcss "import ... from ..."
|
||||
import \{ css \} from "@emotion/react";
|
||||
endsnippet
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
" https://github.com/junegunn/vim-plug
|
||||
if empty(glob('~/.config/nvim/autoload/plug.vim'))"
|
||||
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
|
||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
@ -76,6 +77,15 @@ Plug '~/projects/nvim-paper-tonic'
|
|||
Plug 'lukas-reineke/indent-blankline.nvim'
|
||||
"}}}
|
||||
|
||||
" #iamcco/markdown-preview.nvim {{{
|
||||
" https://github.com/iamcco/markdown-preview.nvim
|
||||
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
|
||||
|
||||
let g:mkdp_browser = '/usr/local/bin/chromium-app'
|
||||
let g:mkdp_echo_preview_url = 1
|
||||
|
||||
"}}}
|
||||
|
||||
" keeping
|
||||
" #vim-hexokinase {{{
|
||||
" https://github.com/chrisbra/Colorizer
|
||||
|
|
|
@ -204,3 +204,7 @@ LXD
|
|||
campervans
|
||||
VW
|
||||
gltf
|
||||
SeamlessHR
|
||||
Linkedin
|
||||
Tepsi
|
||||
chipotle
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue