Update vim config
- Add CoffeeScript Compile vim shortcut - Add CoffeeScript snippets - Add Python snippets - Fix typo - Remove deprecated setting
parent
99bcaa5161
commit
a6a8901f19
@ -1,3 +1,19 @@
|
|||||||
snippet timeout "timeout"
|
snippet timeout "timeout"
|
||||||
setTimeout(${1:->}, ${2:500})
|
setTimeout(${1:->}, ${2:500})
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet log "Log" !
|
||||||
|
console.log ${1:"${2:msg}"}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet cl "console.log"
|
||||||
|
console.log ${1:"${2:msg}"}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet def "define"
|
||||||
|
define [
|
||||||
|
'${1:path}'
|
||||||
|
], (
|
||||||
|
${2:Object}
|
||||||
|
) ->
|
||||||
|
endsnippet
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
snippet map "Map snippet"
|
snippet map "Map snippet"
|
||||||
map(${1:lambda x: x}, ${2:[]})
|
map(${1:lambda x: x}, ${2:[]})
|
||||||
endsnippet
|
endsnippet
|
||||||
|
snippet future "Import from future" !b
|
||||||
|
from __future__ import (division, absolute_import, print_function,
|
||||||
|
unicode_literals)
|
||||||
|
endsnippet
|
||||||
|
Loading…
Reference in New Issue