mootools php faith camera linux

linux

Vim mapping for
console.log output



Use this vim mapping for javascript to quickly type console.log for an object and including a label with the same name as the object.


map 
<S-F11oconsole.log('here: ');<ESC>ddPpnhx4l3xk:.,.+1s/here/
map! <S-F11console.log('here: ');<ESC>ddPpnhx4l3xk:.,.+1s/here/

Here is an example in action:
Use this vim mapping for javascript to quickly type console.log for an object



Last Updated: 2020-06-22 07:41:47
Creative Commons License Jay Johnston is a Zend Certified Engineer in PHP 5 LPI-ID: LPI000102450, Verfication Code: wmnnt56y2k  ... Jay Johnston is certified as LPIC-1 by the Linux Professional Institute