diff --git a/nvim/.config/nvim/lua/maps.lua b/nvim/.config/nvim/lua/maps.lua index 5c4f83b..562a1b3 100644 --- a/nvim/.config/nvim/lua/maps.lua +++ b/nvim/.config/nvim/lua/maps.lua @@ -261,3 +261,7 @@ map.n.nore['[c'] = ':IPythonCellPrevCell' -- insert cell header above/below map.n.nore['cO'] = ':IPythonCellInsertAbovea' map.n.nore['co'] = ':IPythonCellInsertBelowa' + +-- PLUGIN: betterdigraphs +-- allow normal digraph insertion on c-k, search on c-k c-k +map.i.nore[''] = 'lua require "betterdigraphs".digraphs("i")' diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index b49c7c8..a13364c 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -165,6 +165,10 @@ require("packer").startup(function() }, config = function() require('plug._telescope') end } + use { + 'protex/better-digraphs.nvim', + requires = {{"nvim-telescope/telescope.nvim"}} + } -- snippeting use {"hrsh7th/vim-vsnip", event = "InsertEnter"} -- snippet engine