From 494c7d7a55e3614d3a29852383977a86b2706440 Mon Sep 17 00:00:00 2001 From: QQ <1770362456@qq.com> Date: Sat, 28 Jan 2023 18:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0im=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/Plugin/Imchange.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/Plugin/Imchange.lua b/lua/Plugin/Imchange.lua index c549b5f..6ea2016 100644 --- a/lua/Plugin/Imchange.lua +++ b/lua/Plugin/Imchange.lua @@ -3,14 +3,14 @@ local G, im = require("G"), "keyboard-us" function InsertLeave() local t = io.popen("fcitx5-remote -n") im = t:read() - G.cmd(":silent !fcitx5-remote -c") + G.cmd(":silent !fcitx5-remote -c,cr") end function InsertEnter() if im == 'pinyin' then print(im) - G.cmd("!fcitx5-remote -s pinyin") + G.cmd("!fcitx5-remote -s pinyin") end end