Merge pull request #4010 from watiko/vim-7.4.614

vim-patch:7.4.614
This commit is contained in:
Justin M. Keyes 2016-01-13 23:03:58 -05:00
commit 269f3ac779
2 changed files with 18 additions and 1 deletions

View File

@ -510,7 +510,7 @@ static int included_patches[] = {
617,
// 616,
615,
// 614,
614,
// 613,
612,
// 611 NA

View File

@ -84,6 +84,23 @@ describe('mapping', function()
+]])
end)
it('feedkeys', function()
insert([[
a b c d
a b c d
]])
-- Vim's issue #212 (feedkeys insert mapping at current position)
execute('nnoremap . :call feedkeys(".", "in")<cr>')
feed('/^a b<cr>')
feed('0qqdw.ifoo<esc>qj0@q<esc>')
execute('unmap .')
expect([[
fooc d
fooc d
]])
end)
it('i_CTRL-G_U', function()
-- <c-g>U<cursor> works only within a single line
execute('imapclear')