imdisable

Crates.ioimdisable
lib.rsimdisable
version0.1.4
sourcesrc
created_at2023-07-28 17:24:33.377849
updated_at2024-01-03 11:58:40.375734
descriptionPress to disable Windows IME.
homepage
repository
max_upload_size
id928680
size56,393
(shiomiyan)

documentation

README

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

crates.io

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

doc.gif

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
Commit count: 0

cargo fmt