-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loss of curswant when motion key mapped in 'n' or 'v' #1
Comments
Thank you for the feedback. |
I've investigated the problem a bit. It seems to be a problematic behavior of Vim itself. Setting 'timeoutlen' or 'ttimeoutlen' in some context affects curswant unexpectedly. I'll dig it more. |
I've asked vim_dev about the problem because it seems to be a bug in Vim. |
Thanks so much! looks like the problem went way deeper than I imagined. |
Now the problem is solved officially. Try Vim 7.3.487 or later. |
again, thanks for your dedication on this one. Still one of my favourite plugins. |
this might be unfair to pin on arpeggio, but I can't find a workaround. The issue is as follows:
say I start vim with no chords loaded and I have three lines:
If in normal mode I position my cursor on the 'o' of ignore and execute ":echo winsaveview()", then I move down with 'j' and do the same, and again onto the smartcase line, I get:
and the cursor sits on the 'r' of smart.
next I execute
:call arpeggio#map('nv', 's', 0, 'jk', '<Esc>')
and repeat the exercise.
...and this time the cursor sits on the ':' .
I'm looking for the mapping to preserve the 'curswant' presumably, but this is already outside my vimfoo to work out what is going awry.
incidentally, the cursor keys still behave so I tried
:nnoremap <Plug>(arpeggio-default:j) <down>
but no luck.
And finally, thanks for such an awesome plugin. Its a huge boost to productivity.
The text was updated successfully, but these errors were encountered: