in a word, can I detect user undo buffer into a diffevent status?
it must can detect these case:
1. press u
2. press U
3. press :undo<CR>
4. function! My_undo()
" some code...
undo
" some code...
endfunction
and press :call My_undo() or <C-R>=My_undo()<CR> or any other way
to call My_undo()
5. function My_undo()
" some code...
norm u
" or
norm U
" some code....
endfunction
as above...
can I did this? Or I need to add a autocmd to implement it myself?
thanks for attention it, and waitting for reply...
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---