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 "}}}