diff options
Diffstat (limited to 'plugin/digraph_search.vim')
-rw-r--r-- | plugin/digraph_search.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugin/digraph_search.vim b/plugin/digraph_search.vim new file mode 100644 index 0000000..44a1307 --- /dev/null +++ b/plugin/digraph_search.vim @@ -0,0 +1,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 v:version < 700 + finish +endif +let g:loaded_digraph_search = 1 + +" Set up mapping +inoremap <buffer> + \ <Plug>(DigraphSearch) + \ <C-O>:call digraph_search#Search()<CR> |