Tony Mechelynck wrote: > On 17/02/09 11:59, Benct Philip Jonsson wrote: >> 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 (-): > > That's 7.1.314, which is long obsolete (7.2 came out on 9-Aug-2008 and > has already got 108 official bugfixes since then). I recommend you > install a more recent version and try again. See > http://users.skynet.be/antoine.mechelynck/vim/compunix.htm about how to > get the latest source and compile it on Linux.
Those Ubuntu repos again... I'm just going thru that with TeXLive2008... > You could also, after setting your keymap, try > > :verbose map! ' > :verbose lmap ' > > and see what Vim answers. In both cases the Swedish equivalent of "No mapping found". > Best regards, > Tony. Thanks, /BP --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
