From b18ef391021c07d693926e959848e77475263be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Walle?= Date: Fri, 30 Nov 2012 17:29:02 +0100 Subject: [PATCH] Add to mapping. Thanks to emma-dev for the suggestion :) --- plugin/double-tap.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/double-tap.vim b/plugin/double-tap.vim index 5a9e44f..4e4eda7 100644 --- a/plugin/double-tap.vim +++ b/plugin/double-tap.vim @@ -61,7 +61,7 @@ function! s:Detect_empty_comment() endfunction if !hasmapto('DoubletapDetect') - imap DoubletapDetect + silent! imap DoubletapDetect endif inoremap DoubletapDetect Detect_empty_comment()