From 6d1cc1187b51b79fd590c1df7c57c2d866e02057 Mon Sep 17 00:00:00 2001 From: Israel Chauca Fuentes Date: Tue, 8 Jun 2010 21:54:22 -0500 Subject: [PATCH] Fixed issue #18 for non xterm terminals. --- autoload/delimitMate.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/delimitMate.vim b/autoload/delimitMate.vim index e422da7..599de28 100644 --- a/autoload/delimitMate.vim +++ b/autoload/delimitMate.vim @@ -707,7 +707,7 @@ function! delimitMate#ExtraMappings() "{{{ "the following simply creates an ambiguous mapping so vim fully "processes the escape sequence for terminal keys, see 'ttimeout' for a "rough explanation, this just forces it to work - if &term[:4] == "xterm" + if !has('gui_running') inoremap OC endif endfunction "}}}