Fixed issue #18 for non xterm terminals.

This commit is contained in:
Israel Chauca Fuentes
2010-06-08 21:54:22 -05:00
parent 377c3a37e1
commit 6d1cc1187b

View File

@@ -707,7 +707,7 @@ function! delimitMate#ExtraMappings() "{{{
"the following simply creates an ambiguous mapping so vim fully "the following simply creates an ambiguous mapping so vim fully
"processes the escape sequence for terminal keys, see 'ttimeout' for a "processes the escape sequence for terminal keys, see 'ttimeout' for a
"rough explanation, this just forces it to work "rough explanation, this just forces it to work
if &term[:4] == "xterm" if !has('gui_running')
inoremap <silent> <C-[>OC <RIGHT> inoremap <silent> <C-[>OC <RIGHT>
endif endif
endfunction "}}} endfunction "}}}