Skip to content

Commit

Permalink
Add new neovim plugin: migemo-search.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
mimikun committed Jan 12, 2024
1 parent da1bf2b commit 0cde08b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dot_config/nvim/lua/plugins/migemo-search-vim.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
-- Enable if there are no human rights and if executable cmigemo command
local is_not_human_rights = not require("core.global").is_human_rights
local has_cmigemo = (1 == vim.fn.executable("cmigemo")) and true or false
local cond = is_not_human_rights and has_cmigemo

local keymaps = {
{ "<C-j>", desc = "Toggle Kana-mode eskk.vim" },
}

return {
"rhysd/migemo-search.vim",
lazy = false,
--event = "VeryLazy",
--keys = keymaps,
config = function()
-- TODO: config use lua
-- sample:
-- vim.g["fern#default_hidden"] = 1
end,
cond = cond,
}

0 comments on commit 0cde08b

Please sign in to comment.