Zheng Da wrote:
On 1/4/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Zheng Da wrote:
> On 1/4/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
>>
>> WFM
>>
>> VIM - Vi IMproved 7.0 (2006 May 7, compiled Dec  5 2006 22:18:11)
>> Included patches: 1-178
>> Compiled by [EMAIL PROTECTED]
>> Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
>> ...etc...
>>
>> Best regards,
>> Tony.
>>
> What do you mean?
>

WFM = Works For Me, on the version mentioned above.

Please give some more details.


Best regards,
Tony.


$ vim --version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jan  4 2007 14:47:14)
Compiled by [EMAIL PROTECTED]

Hm. Version 7.0.000, lacking 178 bugfixes.

Normal version with GTK2 GUI.  Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv -cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path
+folding -footer +fork() +gdb +gettext -hangul_input +iconv +insert_expand
+jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap
+menu +mksession +modify_fname +mouse +mouseshape -mouse_dec +mouse_gpm
-mouse_jsbterm -mouse_netterm +mouse_xterm +multi_byte +multi_lang -mzscheme
+netbeans_intg -osfiletype +path_extra -perl +postscript +printer -profile
+python +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent
-sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact
+xterm_clipboard -xterm_save
  system vimrc file: "$VIM/vimrc"
    user vimrc file: "$HOME/.vimrc"
     user exrc file: "$HOME/.exrc"
 system gvimrc file: "$VIM/gvimrc"
   user gvimrc file: "$HOME/.gvimrc"
   system menu file: "$VIMRUNTIME/menu.vim"
 fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12     -g -O2
-I/usr/include/python2.4 -pthread
Linking: gcc   -L/usr/local/lib -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lXt -lncurses -lgpm
 -L/usr/lib/python2.4/config -lpython2.4 -lpthread -ldl -lutil -lm
-Xlinker -export-dynamic



I don't see anything obvious. Are you using it in GUI mode or in console mode? If you try the other mode, does it make a difference? Do you see anything at http://ftp.vim.org/pub/vim/patches/7.0/README which, by not being included, could prevent arrows from being mapped?

For the record, when I open a virgin [No Name] buffer in gvim and then do

        :nmap <buffer> <Left> i-<Esc>

from then on, in that buffer the left-arrow key inserts a dash instead of moving to the left. IIUC this is the behaviour you expect from this mapping.


Best regards,
Tony.

Reply via email to