diff --git a/autoload/delimitMate.vim b/autoload/delimitMate.vim index 9e0339b..d60a3be 100644 --- a/autoload/delimitMate.vim +++ b/autoload/delimitMate.vim @@ -643,6 +643,12 @@ function! delimitMate#ExtraMappings() "{{{ inoremap =delimitMate#Del() + "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" + inoremap OC + endif endfunction "}}} function! delimitMate#UnMap() " {{{