From c9df35cf9959153e5cb742bcfd30cb427f8e6b19 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 28 Jun 2010 06:16:38 +0200 Subject: [PATCH] Fix for broken cursor keys in terminal after delimitMate plugin upgrade (needs modification of delimitMate script itself) --- autoload/delimitMate.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/delimitMate.vim b/autoload/delimitMate.vim index d24bbf5..731368e 100644 --- a/autoload/delimitMate.vim +++ b/autoload/delimitMate.vim @@ -648,7 +648,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 &term[:4] != "builtin_gui" inoremap OC endif endfunction "}}}