nvim: Add telescope digraph search
Added plugin for digraph search through telescope. When you want to enter a digraph, you can do so through the usual method, pressing <c-k> and then entering the digraph shortcut (e.g. `<c-k>OK` for ✓, or `<c-k>n?` for ñ) OR you simply double press <c-k><c-k> which opens a quick telescope window to select the digraph you want.
This commit is contained in:
parent
11c1383f01
commit
363f4ac5e6
2 changed files with 8 additions and 0 deletions
|
@ -261,3 +261,7 @@ map.n.nore['[c'] = ':IPythonCellPrevCell<cr>'
|
|||
-- insert cell header above/below
|
||||
map.n.nore['<leader>cO'] = ':IPythonCellInsertAbove<cr>a'
|
||||
map.n.nore['<leader>co'] = ':IPythonCellInsertBelow<cr>a'
|
||||
|
||||
-- PLUGIN: betterdigraphs
|
||||
-- allow normal digraph insertion on c-k, search on c-k c-k
|
||||
map.i.nore['<C-k><C-k>'] = '<Cmd>lua require "betterdigraphs".digraphs("i")<CR>'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue