Skip to content

Commit

Permalink
Merge pull request #46 from wellle/45-fix-feedkeys-count
Browse files Browse the repository at this point in the history
Revert order of feedkeys calls to fix counts
  • Loading branch information
tpope committed Apr 3, 2015
2 parents b01aafb + 7568a96 commit c4f9f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/repeat.vim
Expand Up @@ -92,8 +92,8 @@ function! repeat#run(count)
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))
exe 'norm ' . r . cnt . s
else
call feedkeys(r . cnt, 'ni')
call feedkeys(s, 'i')
call feedkeys(r . cnt, 'ni')
endif
else
if ((v:version == 703 && has('patch100')) || (v:version == 704 && !has('patch601')))
Expand Down

0 comments on commit c4f9f15

Please sign in to comment.