Tony Mechelynck schrieb:
> I have the following defined:
>
> (in my vimrc)
> " add an undo point between each WORD
> " even in Vim versions older than Ctrl-G u
> inoremap <Space> <Space><Left><Right>
> inoremap <Tab> <Tab><Left><Right>
> inoremap <CR> <CR><Up><Down>
> " Ctrl-] not easily reachable on my keyboard
> " (AltGr+Ctrl+$), so use F9 instead
> map <F9> <C-]>
> map! <F9> <C-]>
>
> (in a session file)
> iabbr VM Aĝa, saĝa Väinämöinen
>
> Now when I type VM followed by F9, the abbreviation is expanded. When it
> is followed by a space instead, it is not expanded. Bug or feature?
Hi Tony, you eventually got my point, thanks! (check the links below)
> Notice that the space or F9 are not part of the abbreviation itself,
> they _follow_ it.
>
> Experiment: I just tried replacing "inoremap" by just "imap" (since
> there is no recursion if the {rhs} _starts_ with the {lhs}) and _then_
> the abbreviation is expanded. So, maybe it is a feature after all?
Not a feature, just pure luck that you quickly found a remedy.
> Using gvim 7.2.267 (Huge, GTK2/Gnome2).
>
>
> Best regards,
> Tony.
http://groups.google.de/group/vim_dev/browse_thread/thread/db06acb5c7fc8dad/63c94a884247b74f?q=#63c94a884247b74f
http://groups.google.com/group/vim_dev/browse_thread/thread/4bcb7041761eea15/82671547b1cbcc63?#82671547b1cbcc63
I think it's a bug.
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---