This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// an example to create a new mapping `ctrl-y` | |
api.mapkey('<ctrl-y>', 'Show me the money', function() { | |
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).'); | |
}); | |
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works. | |
api.map('gt', 'T'); | |
// an example to remove mapkey `Ctrl-i` | |
api.unmap('<ctrl-i>'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"--------------------------------------------------------------------------- | |
" Neocomplcache: | |
" 自動起動 | |
let g:neocomplcache_enable_at_startup = 1 | |
" SmartCaseをオン | |
let g:neocomplcache_enable_smart_case = 0 | |
" 区切り補完を有効化 | |
let g:neocomplcache_enable_underbar_completion = 1 | |
" シンタックスキャッシュを最小文字長を3にする |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//!*script | |
// This script is in the public domain. | |
// PPc 用スクリプト。 | |
// 選択エントリーをテキストエディタで一気にリネーム。 | |
// | |
// PPx側でエディター設定していればそれを使う。 | |
// 指定なしorエディタが存在しない場合はPPeで編集する。 | |
var editor = PPx.Extract("%'editor'"); | |
// ファイル操作 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M_xpack = { ** comment ** | |
zip(zip32j)反対窓 = %uZIP32J.DLL,%ef"%{%2%\%C%|%}" %@ %S"-r" ;反対PPCに同じフォルダ名でZIP化する | |
zip(zip32j)現在窓 = %uZIP32J.DLL,%ef"%{%1%\%C%|%}" %@ %S"-r" ;現在PPCに同じフォルダ名でZIP化する | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%Oai PPVW.EXE %R -r %: *fitwindow %N~,%NVA %: *focus VA ;PPVAを開いて反対側のPPCサイズに合わせる |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==NILScript== | |
// @name test_PPC1window | |
// @namespace http://nakamizo.com/ | |
// @description 存在しているPPCをひとつにまとめちゃう。複数枚開いているときにWin+TabやAlt+Tabのときに邪魔にならない。 | |
// @author TAKE takashi | |
// @homepage http://nakamizo.com/ | |
// @twitter https://twitter.com/take_takashi/ | |
// ==/NILScript== | |
var GetWindow = user32.proc("GetWindow", [UInt, UInt], UInt); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test | |
plugins.options["hok.actions"] = [ | |
['m', | |
M({ja: "簡易版画像を保存", en: "Save image"}), | |
function (elem) { | |
var doc = elem.ownerDocument; | |
var url = window.makeURLAbsolute(elem.baseURI, elem.src); | |
var leafname = elem.src.split(/\/+/g).pop(); | |
// leafnameには?.*という文字列が追加されている場合があるので、?以下を取り除く | |
leafname = leafname.match(/([^?]+)\?*/)[1]; |