mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 12:44:27 +08:00
Fix arrow keys on terminal, #18.
This commit is contained in:
@@ -643,6 +643,12 @@ function! delimitMate#ExtraMappings() "{{{
|
||||
|
||||
inoremap <buffer> <Del> <C-R>=delimitMate#Del()<CR>
|
||||
|
||||
"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 <silent> <C-[>OC <RIGHT>
|
||||
endif
|
||||
endfunction "}}}
|
||||
|
||||
function! delimitMate#UnMap() " {{{
|
||||
|
||||
Reference in New Issue
Block a user