On 13/02/09 22:01, Andy Wokula wrote:
> [email protected] schrieb:
>> Is there a way to adjust how much exactly is being undone or redone by
>> typing 'u' or 'ctrl+r'?
>>
>> I'm kind of unhappy with the way it works right now, too much is taken
>> away by a single command. Instead of whole
>> chunks of sentences, I'd rather like to have a few characters taken
>> away. I've also given 'g+-' and 'g++' a try, but
>> it's equally unsatisfying.
>
> 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
>

Does it matter? ":noremap" prevents remapping the {rhs}, it has no 
influence on using the {lhs} in an abbreviation or a remappable mapping.


Best regards,
Tony.
-- 
If an elephant is left tied to a parking meter, the parking fee has to 
be paid
just as it would for a vehicle.
                [real standing law in Florida, United States of America]

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to