kana/vim-arpeggio — Issue #1: loss of curswant when motion key mapped in 'n' or 'v'
Author: christfo
Created: 2011-11-09 11:59:24+00:00
State: open

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:

```
:set ignorecase

:set smartcase
```
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:
```
{'lnum': 25, 'leftcol': 0, 'col': 8, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 8}
{'lnum': 26, 'leftcol': 0, 'col': 0, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 8}
{'lnum': 27, 'leftcol': 0, 'col': 8, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 8}
```
and the cursor sits on the 'r' of smart.

next I execute
```:call arpeggio#map('nv', 's', 0, 'jk', '')```
and repeat the exercise.
```
{'lnum': 25, 'leftcol': 0, 'col': 8, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 8}
{'lnum': 26, 'leftcol': 0, 'col': 0, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 0}
{'lnum': 27, 'leftcol': 0, 'col': 0, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 0}
```
...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 (arpeggio-default:j) ```
but no luck.

And finally, thanks for such an awesome plugin. Its a huge boost to productivity.