ime: wrapper helper for fcitx module

This commit is contained in:
js0ny 2025-11-18 08:19:15 +00:00
parent 20a2dc258f
commit 5c189f5c0f
7 changed files with 147 additions and 104 deletions

View file

@ -1,5 +1,6 @@
local mode_arrow = { "n", "v", "s", "x", "o" }
-- stylua: ignore
local keymaps_basic = {
-- https://github.com/LazyVim/LazyVim/blob/d1529f650fdd89cb620258bdeca5ed7b558420c7/lua/lazyvim/config/keymaps.lua#L8
{
@ -96,7 +97,7 @@ local keymaps_basic = {
opts = { desc = "Down 5 Lines" },
},
{ keys = "<Tab>", cmd = "<C-w><C-w>", opts = { desc = "Focus on other panel" } },
{ keys = "<CR>", cmd = "%" },
-- { keys = "<CR>", cmd = "%" },
{ keys = "Y", cmd = "y$", opts = { desc = "Yank to End of Line" } },
{ mode = mode_arrow, keys = "J", cmd = "5j" },
{ mode = mode_arrow, keys = "K", cmd = "5k" },