dotfiles/vim/after/ftplugin/javascript.vim

6 lines
265 B
VimL
Raw Normal View History

iabbrev clog console.log("<c-r>=Eatchar('\s')<cr>
iabbrev cdeb console.debug("<c-r>=Eatchar('\s')<cr>
iabbrev cerr console.error("<c-r>=Eatchar('\s')<cr>
iabbrev cwar console.warn("<c-r>=Eatchar('\s')<cr>
2022-01-27 16:24:09 +00:00
iabbrev ()! () => {<cr><cr>}<esc>kcc<c-r>=Eatchar('\s')<cr>