mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
commit
269f3ac779
@ -510,7 +510,7 @@ static int included_patches[] = {
|
|||||||
617,
|
617,
|
||||||
// 616,
|
// 616,
|
||||||
615,
|
615,
|
||||||
// 614,
|
614,
|
||||||
// 613,
|
// 613,
|
||||||
612,
|
612,
|
||||||
// 611 NA
|
// 611 NA
|
||||||
|
@ -84,6 +84,23 @@ describe('mapping', function()
|
|||||||
+]])
|
+]])
|
||||||
end)
|
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()
|
it('i_CTRL-G_U', function()
|
||||||
-- <c-g>U<cursor> works only within a single line
|
-- <c-g>U<cursor> works only within a single line
|
||||||
execute('imapclear')
|
execute('imapclear')
|
||||||
|
Loading…
Reference in New Issue
Block a user