mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
hjkl is not for me :/, added snippets for debugging and logging in js
This commit is contained in:
@@ -72,3 +72,17 @@ snippet get
|
||||
# Get Element
|
||||
snippet gett
|
||||
getElementBy${1:Id}('${2}')${3}
|
||||
snippet dbg
|
||||
debugger;
|
||||
snippet ass
|
||||
console.assert(${1}, ${2})${3};
|
||||
snippet log
|
||||
console.log('${1}')${2};
|
||||
snippet debug
|
||||
console.debug('${1}')${2};
|
||||
snippet info
|
||||
console.info('${1}')${2};
|
||||
snippet warn
|
||||
console.warn('${1}')${2};
|
||||
snippet tbl
|
||||
console.table(${1})${2};
|
||||
|
||||
Reference in New Issue
Block a user