[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 -- Andy --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
