mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-08 05:34:45 +08:00
Fixed issue #18 for non xterm terminals.
This commit is contained in:
@@ -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 "}}}
|
||||||
|
|||||||
Reference in New Issue
Block a user