Tony Mechelynck wrote: > On 16/02/09 23:57, John Beckett wrote: >> Benct Philip Jonsson wrote: >>> Yes: What might be the reason these don't work and how can >>> I make them work? >> Please give a simple example of an exact map command, and state what >> doesn't work. >> >> John > > Looks clear enough from the OP. > > :new > :setlocal keymap=accents > > then, in Insert mode, hit 'a > > á is not inserted (for the OP). The only unclear thing is what (if > anything) is inserted. Also it might be useful to say which Vim version > and patchlevel was used, and, if not the latest one, to check > http://ftp.vim.org/pub/vim/patches/7.2/README for fixes to that problem > between the patchlevel used (excluded) and patch 108 (included). > > Now I shall add: > > Works for me with gvim 7.2.108, Huge version. Version and patchlevel can > be seen near the top of the ":intro" screen or of the ":version" output. > For instance I have: > > VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 11 2009 23:02:52) > Included patches: 1-108 > Extra patches: Extra float functions (Bill McCarthy) > Compiled by [email protected] > Huge version with GTK2-GNOME GUI. Features included (+) or not (-): > [...] > > If the "Included patches" line is not present, it means patchlevel zero. > > > Best regards, > Tony.
Ecaxtly: I :setlocal keymap=accents but when I hit 'a nothing happens. Oddly if I make my own keymap file and map aa á then typing aa gives á. It only doesn't work when the deadkey is a punctuation character... It's all in Swedish but the output of vim --version looks as follows: VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 8 2009 02:19:16) Inkluderade patchar: 1-314 Kompilerad av [email protected] Enorm version med GTK2-GNOME-GUI. Funktioner inkluderade (+) eller inte (-): +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() +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-fil: "$VIM/vimrc" användar-vimrc-fil: "$HOME/.vimrc" användar-exrc-fil: "$HOME/.exrc" system-gvimrc-fil: "$VIM/gvimrc" användar-gvimrc-fil: "$HOME/.gvimrc" systemmenyfil: "$VIMRUNTIME/menu.vim" reserv för $VIM: "/usr/share/vim" Kompilering: 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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -g -O2 -O2 -g -Wall -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I/usr/include/python2.5 -pthread -I/usr/include/tcl8.4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/lib/ruby/1.8/i486-linux Länkning: gcc -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,--as-needed -L/usr/local/lib -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgnomeui-2 -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lXt -lncurses -lselinux -lacl -lgpm -Wl,-E -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -L/usr/lib/python2.5/config -lpython2.5 -lutil -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.4 -lieee -lruby1.8 -lm --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
