aboutsummaryrefslogtreecommitdiff
path: root/plugin/digraph_search.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/digraph_search.vim')
-rw-r--r--plugin/digraph_search.vim10
1 files changed, 3 insertions, 7 deletions
diff --git a/plugin/digraph_search.vim b/plugin/digraph_search.vim
index 1923eb2..beaab41 100644
--- a/plugin/digraph_search.vim
+++ b/plugin/digraph_search.vim
@@ -5,15 +5,11 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_digraph_search') || &compatible
- finish
-endif
-if !has('digraphs') || v:version < 700
+if exists('loaded_digraph_search') || &compatible || v:version < 700
finish
endif
let loaded_digraph_search = 1
" Set up mapping
-inoremap <silent> <unique>
- \ <Plug>(DigraphSearch)
- \ <C-O>:call digraph_search#Search()<CR>
+inoremap <silent> <Plug>(DigraphSearch)
+ \ <C-O>:call digraph_search#()<CR>