aboutsummaryrefslogtreecommitdiff
path: root/plugin/digraph_search.vim
blob: 1d58d42c25c63724d3f5e6263c0a0cc5db3e7c0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"
" digraph_search.vim: Insert mode mappings to find a digraph by searching for
" its name in the contents of :help digraph-table.
"
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
if exists('g:loaded_digraph_search') || &compatible
  finish
endif
if !has('digraphs') || v:version < 700
  finish
endif
let g:loaded_digraph_search = 1

" Set up mapping
inoremap <silent> <unique>
      \ <Plug>(DigraphSearch)
      \ <C-O>:call digraph_search#Search()<CR>