Include ansi terms

This commit is contained in:
Kien N 2012-06-04 08:31:02 +07:00
parent 6a9fda9304
commit 6801fa80dd

View File

@ -754,7 +754,7 @@ endf
fu! s:MapSpecs(...)
" Correct arrow keys in terminal
if ( has('termresponse') && v:termresponse =~ "\<ESC>" )
\ || &term =~? '\vxterm|<k?vt|gnome|screen|linux'
\ || &term =~? '\vxterm|<k?vt|gnome|screen|linux|ansi'
for each in ['\A <up>','\B <down>','\C <right>','\D <left>']
exe s:lcmap.' <esc>['.each
endfo