-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new neovim plugin: migemo-search.vim
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |