Add better digraphs
This commit is contained in:
parent
1f9e8df82c
commit
027213cbcd
1 changed files with 32 additions and 0 deletions
32
home/dot_config/nvim/lua/plugins/digraph.lua
Normal file
32
home/dot_config/nvim/lua/plugins/digraph.lua
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
return {
|
||||||
|
"protex/better-digraphs.nvim",
|
||||||
|
dependencies = {
|
||||||
|
{ "nvim-telescope/telescope.nvim" },
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<C-k><C-k>",
|
||||||
|
mode = "i",
|
||||||
|
function()
|
||||||
|
require("better-digraphs").digraphs("insert")
|
||||||
|
end,
|
||||||
|
desc = "Find Digraphs",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<C-k><C-k>",
|
||||||
|
mode = "n",
|
||||||
|
function()
|
||||||
|
require("better-digraphs").digraphs("normal")
|
||||||
|
end,
|
||||||
|
desc = "Find Digraphs",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<C-k><C-k>",
|
||||||
|
mode = "v",
|
||||||
|
function()
|
||||||
|
require("better-digraphs").digraphs("visual")
|
||||||
|
end,
|
||||||
|
desc = "Find Digraphs",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue