cumet04 / dotfiles Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
terminalとIMEの選択と問題の記録
Windows Terminal v1.14.186以降、GoogleIMEが有効な場合、Terminal起動時にIME状態がおかしな状態に切り替わるバグが存在する。 refs microsoft/terminal#14407
202309現在のissueの状況的には、これはTerminalのバグではなくGoogleIME側の問題だという主張になっており、解決の気配が無い。
Terminalの古いバージョンを使い続けることもできるが、一時凌ぎならともかくかなり永続的になりそうな状況では厳しいため、GoogleIMEを捨ててMicrosoftIMEに切り替えてみることにした。
現在のMicrosoftIMEにはキーコンフィグがこれしかない。
キー候補がこれしかないため、US配列が実質使えない。また割り当てられる挙動は少ない上、変換・無変換をIME-オフにしても、入力中は変換キーとして機能してしまう(強制オフにはできない)。
US配列で何とかする場合、PowerToys KeyboardManagerやAutoHotKeyなどを使う解決策になる。
しかしながら、全般設定に「以前のバージョンのMicrosoftIMEを使う」という設定があり、これを有効にするとそこそこまともなキーコンフィグができるようになる。
ちなみにこの状態の場合、もともとのキーにある「ImeOff」レコードのキー部分を変更することで、たとえばEscキーx2で強制IMEオフみたいなことができるようになる。
通常のレコードの場合は入力中などの挙動選択肢に「IME-オフ」が出現しないため、この方法でしかこれは実現できない。
この組み合わせかつIMEを「以前のバージョンのMicrosoftIMEを使う」にしている場合、ターミナル上で日本語するとぶっ壊れた入力になったりターミナル自体がクラッシュするバグが存在する。 refs microsoft/terminal#14349
※おそらくWin10では問題ない。社用マシンでは何事も起こっていない
issueは長らく直っていないが、冷静に考えて、ただでさえ優先度の低いCJKの、しかもJだけの問題で、かつ互換性モードでのみ再現するバグを直す意義は限りなく低いと思われる。
そうでなくとも互換性モードを使い続けるのは微妙なので、それに依存し続けるのはよくないよなぁとは思う。
MS IMEのキー入力を何か代替できるか
リマップなので単独キーを単独キーにしか置き換えできない。たとえばEscにEcsとNon-Convertを両方割り当てて連打するようなことはできない。
__tmux_status_gitなど
デフォルトは尊重する的な感じで色変更をしないといけないのかもしれない
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.