#disable #ime #windows #press

app imdisable

Press <C-[> to disable Windows IME

3 releases

0.1.4 Jan 3, 2024
0.1.3 Aug 7, 2023
0.1.2 Jul 28, 2023

#245 in Text editors

MIT/Apache

39KB

<C-[>でIMEを無効化するやつ

crates.io

VimキーバインドでC-[したあとにjjjjjjjjjとなるのがうざいため。

Install

Windows

cargo install imdisable

~/.cargo/bin/imdisable.exeをタスクスケジューラあたりに登録しておく。

Linux

fcitx5-remote command required.

cargo install imdisable
sudo ln -sf $HOME/.cargo/bin/imdisable /usr/bin/imdisable

Run as user service (~/.config/systemd/user/imdisable.service).

[Unit]
Description=imdisable

[Service]
Type=simple
ExecStart=/usr/bin/imdisable &
Restart=on-failure
StartLimitInterval=3
StartLimitBurst=100

[Install]
WantedBy=default.target
systemctl --user enable imdisable.service

Dependencies

~0.5–40MB
~555K SLoC