aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator/echo-tweet.tw
diff options
context:
space:
mode:
authormitsugu oyama2011-09-15 10:59:57 +0900
committermitsugu oyama2011-09-15 10:59:57 +0900
commit6c784a97a71c7f2829a259aa37dddf5e741c190e (patch)
tree2d78f3aee44d422b67d38d134b74829c2732333e /twittperator/echo-tweet.tw
parent535f555cb7ad889d73f333191594a27991cea0dc (diff)
downloadvimperator-plugins-6c784a97a71c7f2829a259aa37dddf5e741c190e.tar.bz2
fix not used nsFile.append()
Diffstat (limited to 'twittperator/echo-tweet.tw')
0 files changed, 0 insertions, 0 deletions
span>>'tohex'</tags> <spec>:tohex</spec> <description> <p>Convert to hex code from string by this plugin.</p> <p>If you use <link topic="http://github.com/vimpr/vimperator-plugins/blob/master/i_love_echo.js">i_love_echo.js</link>, you should not use tohex plugin.</p> </description> </item> </plugin>; commands.addUserCommand( ['tohex'], 'convert to hex code from charactor', function(args){ if(1!=args.length){ liberator.echoerr('argument error'); return false; } let str=''; let max=args[0].length; for(let i=0;i<max;i++) str+=('\\u'+args[0].charCodeAt(i).toString(16)); liberator.echo(str); util.copyToClipboard(str,true); }, { literal: false }, true );