> This has just been discussed > today:http://groups.google.com/group/vim_use/msg/d2617151a3f8d95e > > :h i_CTRL-G_u > > You can add an undo step whenever you insert a Space this way: > :imap <Space> <Space><C-G>u > > Notes: > :imap (vs. :inoremap) is used to still be able to expand abbreviations. > There is no endless loop, see > :h recursive_mapping > > -- > Andy
This is cool. I am interested in finding where those text goes. Is it still part of register . (<C-R>.)? Is it possible to find out a way, in insert mode, to get those text between <C-G>u? One live application is for omni completion (vimim for example), to save what the user chose through the omni popup menu. If it is possible, the order of the popup menu can be adjusted according to the usage. Thanks Sean --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
