On Jun 6, 3:02 am, Jeri Raye <[email protected]> wrote: > > I have the following mappings for cursor movements > z<Right> z] > z<Leftt> [z > z<Down> zj > z<Up> zk > > Does these interfere with zz?
These should not interfere. And from the right-hand-side of the mappings, I infer that you are in normal mode. I cannot duplicate this with CTRL-A, but my shifted arrow keys do this as well. My first impulse is to try the following command to see what on earth is going on: :exec "debug normal \<S-Right>" Nothing shows up in the debug sequence when doing this, however; I'm not sure why. Does anyone else have a debug method that will catch the CursorMoved autocmd? I find myself wondering if the problem is that <S-Right> and friends all enter selection mode (something I never use). :help Select-mode (actually :help v_CTRL-G) says that "printable characters will cause the selection to be deleted, and Vim enters Insert mode." Perhaps the CursorMoved autocmd fires after entering selection mode, and simply feeds the (printable) zz sequence in, causing the text to be deleted and zz inserted? My suspicion would be reinforced if you have a mapping for CTRL-A that enters selection mode, perhaps something like "nmap <C-A> ggVG<C-G>". --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
