aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/digraph_search.vim8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugin/digraph_search.vim b/plugin/digraph_search.vim
index 9daeba2..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)
+inoremap <silent> <Plug>(DigraphSearch)
\ <C-O>:call digraph_search#()<CR>