Vimperatorã®ã³ãã³ãã©ã¤ã³ã§èªåçã«IMEããªãã«ãã
Vimperatorã®ã³ãã³ãã©ã¤ã³ã§IMEããªã³ã«ãªã£ã¦ããã¨, fçã§ãã³ããé¸æã§ããªãã¦å°ããã¨ããã. 32ãããã®Windows XPã使ã£ã¦ããã¨ãã¯, ime_controller.jsã使ããã¨ã§ã³ãã³ãã©ã¤ã³ãæ¿å ¥ã¢ã¼ãã§ã¯èªåçã«IMEããªãã«ãããã¨ãã§ããããã©, ä»ã®ç°å¢ã§ãã¾ãåä½ããªãã¦å°ã£ã¦ãã.
ime_controller.jsãåããªãã®ã¯Firefoxã«ãããCSSã®ime-modeããããã£ã®åä½ç°å¢ãéããã¦ããã®ãåå ã§, Firefoxã«éãããã¨ãã°IME and DiMENSiONããã¡ã®ç°å¢(Windows 7 64ããã)ã§ã¯åä½ãä¸å®å ¨(ãã¾ã«IMEã®ç¶æ ãåæ ãããªã, IMEã®ãªã³ã»ãªããå¶å¾¡ã§ããªã)ã ã£ãããã¦, IMEãã¢ããªã±ã¼ã·ã§ã³ããå¶å¾¡ãããã¨èªä½ãé£ããããã*1.
ãããªä¸ã§, Linuxä¸ã®VimperatorããSCIMã®ãªã³ã»ãªããå¶å¾¡ããæ¹æ³ãè¦ã¤ãã:
Linux + Vimperator2.x で hint時にIMをオフにする - 備忘録 beta
ããã¯, IMEã®ãªã³ã¨ãªãã®ã·ã§ã¼ãã«ãããã¼ãåå¥ã«å²ãå½ã¦ã¦ããã¦, Vimperatorããå¤é¨ã³ãã³ããå¼ã³åºããã¨ã§ãã¼å ¥åãã¨ãã¥ã¬ã¼ãããã¨ããææ³. ãã®æ¹æ³ãªãWindowsã«ã対å¿ã§ãããã¨ã«æ°ã¥ããã®ã§, Vimperatorã®ãã©ã°ã¤ã³ãå®è£ ãã¦ã¿ã.
è¿½è¨ 2011-05-24T23:16+0000
ã³ãã³ãã©ã¤ã³ã§IMEãªãã«ãããã ããªãはてなグループの終了日を2020年1月31日(金)に決定しました - はてなの告知ã®æ¹æ³ã§ãã¾ããããã¨ãå¤ããããªã®ã§, ãã¡ãã§ãã¾ãããå ´åã¯ãã¡ããæ¨å¥¨.
Windows 7 64ãããã使ãå§ããã¨ãã«, ime_controller.jsããã¾ãåããªããªã£ã¦, ããã§IME and DiMENSiONçã®ä»£æ¿æ¡ããããã試ããè¦ããããã®ã ããã©, ä»è©¦ãã¦ã¿ãã¨ããããime_controller.jsã§ããã¾ããã. åéã? ããã¨ãFirefoxã®ç¹å®ã®ãã¼ã¸ã§ã³ã§ime-modeããµãã¼ãããã¦ããªãã£ããã¨ããã£ã?
è¿½è¨ 2012-12-04T09:34+0000
ibusãã¤ã³ã¹ãã¼ã«ããã¦ããå ´åã«ã¯ã·ã§ã¼ãã«ãããã¼ã§ã¯ãªãpythonã¹ã¯ãªããã§on/offããããã«å¤æ´. ibus(æ£ç¢ºã«ã¯ibus-setup)ãå ¥ã£ã¦ããããã©ä½¿ã£ã¦ãªãã¨ããå ´åã¯
let g:imekeys_methods='x,w'
ã®ããã«ãã.
è¿½è¨ 2014-01-04T16:32+0000
uimãã¤ã³ã¹ãã¼ã«ããã¦ããå ´åã¯ã·ã§ã¼ãã«ãããã¼ã§ã¯ãªãå
±æã©ã¤ãã©ãªã®API(uim-helper
)çµç±ã§on/offããããã«å¤æ´. libuim.so
ãèªã¿è¾¼ããã, /sbin/ldconfig -p
ã§libuim.so.VERSION
ãè¦ã¤ããç°å¢ã§åä½ãã.
ææ°ã®ibusã§ã¯åããªããªã£ã¦ãã¾ã£ãã®ã§, ibusãuimãã¤ã³ã¹ãã¼ã«ããã¦ããç°å¢ã§uimã®ã¿ã使ãããã«ããå ´åã¯,
let g:imekeys_methods='uim'
ã®ããã«ãã. Windowsç°å¢ã, uimããªãã£ãã¨ãã«ã¯ã¨ããããããããã¼ã«ããåä½ã«ãã©ã¼ã«ããã¯ããå ´åã¯
let g:imekeys_methods='uim,x,w'
ã®ããã«ãã.
åä½ç¢ºèªç°å¢
- OS (IME)
- Windows XP 32ããã, 7 64ããã (MS-IME, Googleæ¥æ¬èªå ¥å) / Linux (ibus, SCIM)
- ãã©ã¦ã¶
- Firefox 4.0.1-17.0.1 (Vimperator 3.1-3.5)
ããæ¹
- imekeys.js (ãããä»åä½ã£ããã®)ãVimperatorã®ãã©ã°ã¤ã³ãã£ã¬ã¯ããªã«å ¥ãã¦ãã
- _libly.jsãå ¥ãã¦ãã
- ç°å¢ãã¨ã®è¨å®ããã
ç°å¢ãã¨ã®è¨å®
Linux (uim)
- .vimperatorrcã«ä»¥ä¸ã®ããã«è¨å®ãæ¸ã(Windowsè¨å®ã¨å ±åå¯è½)
" ã³ãã³ãã©ã¤ã³ã§èªåçã«ãªã(ä»ã«insertããã³cmd,insertãæå®å¯è½) let g:imeoff='cmd'
Linux (ibus)
ibusã®on/offã®æ¦å¿µãæ¶æ» ãã¦ææ°ã®ibusã§ã¯åããªããªã£ãã®ã§æ³¨æ! (åè: iBusがクソになった理由 — KaoriYa)
- .vimperatorrcã«ä»¥ä¸ã®ããã«è¨å®ãæ¸ã(Windowsè¨å®ã¨å ±åå¯è½)
" ã³ãã³ãã©ã¤ã³ã§èªåçã«ãªã(ä»ã«insertããã³cmd,insertãæå®å¯è½) let g:imeoff='cmd'
Linux (SCIM)
- xvkbdãã¤ã³ã¹ãã¼ã«ãã¦ãã
- SCIMã®è¨å®ãéãã¦, [ããã³ãã¨ã³ã]ãããªã³ã»ãªãã®ããããã¼ãè¨å®ãã(Shiftãå«ã¾ãã¦ããæ¹ããã(å¾è¿°))
- .vimperatorrcã«ä»¥ä¸ã®ããã«è¨å®ãæ¸ã(Windowsè¨å®ã¨å ±åå¯è½)
" Ctrl+Shift+$ã§ãªã³ let g:ime_activate_xkey='\[Control]\[Shift]$' " Ctrl+Shift+Spaceã§ãªã let g:ime_deactivate_xkey='\[Control]\[Shift] ' " ã³ãã³ãã©ã¤ã³ã§èªåçã«ãªã(ä»ã«insertããã³cmd,insertãæå®å¯è½) let g:imeoff='cmd'
ãã¼è¨å®ã®æ¸å¼ã¯man xvkbdã®-textã®é ç®ãåç §.
Windows
- Windows XPã®å ´å㯠[ããã¹ããµã¼ãã¹ã¨å ¥åè¨èª]ã®[詳細è¨å®]ã¿ãã§[詳細ãªããã¹ããµã¼ãã¹ã®ãµãã¼ããããã°ã©ã ã®ãã¹ã¦ã«æ¡å¼µãã]ãæå¹ã«ãã¦ãã
- IMEã®ãªã³ã»ãªãã®ãã¼ãè¨å®ãã(Shiftãå«ã¾ãã¦ããæ¹ããã(å¾è¿°))
- MS-IMEã¯ããããã£ã®ãã¼è¨å®ãã
- Googleæ¥æ¬èªå ¥åã¯ããããã£ã®ãã¼è¨å®ã[ã«ã¹ã¿ã ]ã«ãã¦[ç·¨é](ä»ã¾ã§ä½¿ã£ã¦ãããã¼è¨å®ã[å®ç¾©æ¸ã¿ã®ãã¼ãããããã¤ã³ãã¼ã]ãã¦ããã¨ãã)
- .vimperatorrcã«ä»¥ä¸ã®ããã«è¨å®ãæ¸ã(Linuxè¨å®ã¨å ±åå¯è½)
" Ctrl+F11ã§ãªã let g:ime_activate_wkey='^{F11}' " Ctrl+Shift+F11ã§ãªã let g:ime_deactivate_wkey='^+{F11}' " ã³ãã³ãã©ã¤ã³ã§èªåçã«ãªã(ä»ã«insertããã³cmd,insertãæå®å¯è½) let g:imeoff='cmd'
ãã¼è¨å®ã®æ¸å¼ã¯http://msdn.microsoft.com/ja-jp/library/cc364423.aspxãåç §.
注æç¹
- Fã§ãã³ãã表示ããã¨ããªã©, Shiftãé¢ãåã«ãã¼ã¤ãã³ããéä¿¡ããããã¨ãããã®ã§, Shiftãæ¼ãã£ã±ãªãã«ãã¦ãã¦ãåé¡ã®ãªããã¼ãå²ãå½ã¦ã¦ããæ¹ãå®å ¨
- Windowsã®å ´å, ãªã³ã»ãªãã®ãã¼ãåå¥ã«æå®ã§ããã°ã©ããªIMEã§ã対å¿ã§ãã. ãã ã, IMEã«ãã£ã¦ã¯åä½ããªãå ´åããã(ãã¡ã®ç°å¢ã§ã¯skkimeã§ãªãã®ãã¼ã®ã¿è¨å®ãã¦ããã°ã«ãã¦ãã¾ã£ã).
- Vimperatorèµ·åå¾ã¯:set imeoff=string,listã:set imeon=string,listã§èªåçã«IMEãå¶å¾¡ããã³ã³ããã¹ããè¨å®ã§ãã(è¨å®ã§ãããªãã·ã§ã³ã¯è£å®åè£ãåç §)
Vimperatorãã©ã°ã¤ã³éçºè åãæ å ±
- liberator.plugins.sendKeys("xxx")ã§ãã¼ã¤ãã³ããã¨ãã¥ã¬ã¼ãããã
- liberator.plugins.imekeys.on() / .off()ã§IMEãå¶å¾¡ã§ãã
ããã¿
- SCIMã¨xvkbdã使ã£ãããæ¹ãåèã«ãã¦, Windowsã§ã¯wscript.exeã使ãã ã
- WshShellãªãã¸ã§ã¯ãã®SendKeysã¡ã½ããã使ã
- wscript.exeã«ã¯å¼æ°æååãevalãããªãã·ã§ã³ããªãã®ã§, ååå®è¡æã«ä¸æãã¡ã¤ã«ã«JScriptã½ã¼ã¹ãæ¸ãåºãã¦ãã¡ã¤ã«åã渡ãããã«ãã
- Vimperatorã®io.systemã¯ã·ã§ã«ãæãã ããã¦ãããã®ã§io.runã使ã
TODOãªã©
- ããã¥ã¡ã³ãæ¸ã
- verboseã¬ãã«ã«å¿ãã¦ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºå
- github.com:vimpr/vimperator-plugins.gitã«ã³ããã? (ãã®åã«ãªãã¸ããªã¸ã®åå ç³è«ããã)
- Mac対å¿ã¯ç°å¢ããªãã®ã§ããã¾ãã(誰ããã£ã¦ä¸ãã)
- .vimperatorrcã«æ¸ããªãã¦ãèªåã§ãã¼è¨å®ã¨ã£ã¦ãããããããª
- SKKã使ããªãã®ãã¤ãã......