From edd5970b91c547e2203c4383c2f3352eb1eea512 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Tue, 6 May 2025 16:50:30 +0800 Subject: [PATCH] =?UTF-8?q?nvim:=20ime=20=E5=88=87=E6=8F=9B=E7=A8=8B?= =?UTF-8?q?=E5=BC=8F=E6=9B=B4=E6=8F=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exact_plugins/exact_editor/ime.lua | 57 ++++++++++--------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/ime.lua b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/ime.lua index bff120a..336276a 100644 --- a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/ime.lua +++ b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/ime.lua @@ -1,31 +1,34 @@ return { { - "pysan3/fcitx5.nvim", - cond = function() - return vim.fn.executable("fcitx5-remote") == 1 - end, - event = { "ModeChanged" }, -- 在模式改變時載入插件 - config = function() - require("fcitx5").setup() -- 初始化插件 - - -- 以下是手動指定規則 - -- local en = "keyboard-us" - -- local tw = "chewing" - - -- require("fcitx5").setup({ - -- imname = { - -- norm = en, - -- ins = tw, - -- cmd = en, - -- }, - -- remember_prior = false, - -- }) - - -- -- If you are using `jk` to escape, map 全角のjk. - -- vim.cmd([[ - -- inoremap jk - -- tnoremap jk - -- ]]) - end, + "Freed-Wu/ime.nvim", }, + -- { + -- "pysan3/fcitx5.nvim", + -- cond = function() + -- return vim.fn.executable("fcitx5-remote") == 1 + -- end, + -- event = { "ModeChanged" }, -- 在模式改變時載入插件 + -- config = function() + -- require("fcitx5").setup() -- 初始化插件 + -- + -- -- 以下是手動指定規則 + -- -- local en = "keyboard-us" + -- -- local tw = "chewing" + -- + -- -- require("fcitx5").setup({ + -- -- imname = { + -- -- norm = en, + -- -- ins = tw, + -- -- cmd = en, + -- -- }, + -- -- remember_prior = false, + -- -- }) + -- + -- -- -- If you are using `jk` to escape, map 全角のjk. + -- -- vim.cmd([[ + -- -- inoremap jk + -- -- tnoremap jk + -- -- ]]) + -- end, + -- }, }