Monday, July 4, 2011

arrow keys don't move cursor but output ABCD in INSERT mode


 hi guys,

last weekend I finally did the switch from .vim to vim-addon-manager. after the change, I made some small tests, almost everything looks fine. but the arrow key don't move cursor in INsert mode any longer, just ouput A, B, C, and D. I remembered that could be the vi-compatible problem. So I added 

set nocp 

in my .vimrc. unfortunately, this didn't help.  I open a file, try :set cp ? , "nocompatible" was returned.

In gvim, arrow keys work fine, the problem happens only with vim in terminal.

Do you guys have any idea, where is the problem? please give me a hint, thank you!

here I list some infos of my system and vim/vim plugins installed

system: archlinux
vim: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 25 2011 22:06:37)
plugins:

set runtimepath+=~/vim-addons/vim-addon-manager
let s:addon_list=[]

call add(s:addon_list,'desert')
call add(s:addon_list,'desert256')
call add(s:addon_list,'darkerdesert')
call add(s:addon_list,'darkblue2')
call add(s:addon_list,'Indent_Guides')
call add(s:addon_list,'ack')
call add(s:addon_list,'Pydiction')
call add(s:addon_list,'xml')
call add(s:addon_list,'Align294')
call add(s:addon_list,'AutoClose1849')
call add(s:addon_list,'cecutil')
call add(s:addon_list,'DirDiff')
call add(s:addon_list,'DrawIt')
call add(s:addon_list,'FencView')
call add(s:addon_list,'Gundo')
call add(s:addon_list,'matchit.zip')
call add(s:addon_list,'mru')
call add(s:addon_list,'neocomplcache')
call add(s:addon_list,'The_NERD_tree')
call add(s:addon_list,'The_NERD_Commenter')
call add(s:addon_list,'repeat')
call add(s:addon_list,'snipmate')
call add(s:addon_list,'snipmate-snippets')
call add(s:addon_list,'supertab')
call add(s:addon_list,'surround')
call add(s:addon_list,'taglist')

call vam#ActivateAddons(s:addon_list)


Kent



--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: