Hi Bram!

On Di, 27 Jan 2015, Bram Moolenaar wrote:

> 
> Patch 7.4.601
> Problem:    It is not possible to have feedkeys() insert characters.
> Solution:   Add the 'i' flag.
> Files:            src/eval.c, runtime/doc/eval.txt

Let's add a test for that one.

Best,
Christian
-- 
Man imponiert und gewinnt mehr, wenn man über eine Sache lange
spricht, als viel (kurz); die Ausdehnung der Rede gilt für Ausdehnung
der Kenntnis.
                -- Jean Paul

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/testdir/test_mapping.in b/src/testdir/test_mapping.in
--- a/src/testdir/test_mapping.in
+++ b/src/testdir/test_mapping.in
@@ -31,6 +31,11 @@ o+
 : " expr mapping with langmap
 :inoremap <expr> { "FAIL_iexplangmap"
 o+
+:" issue #212 (feedkeys insert mapping at current position)
+:nnoremap . :call feedkeys(".", "in")<cr>
+:/^a b
+0qqdw.ifooqj0@q:unmap .
+
 
 :/^test/,$w! test.out
 :qa!
@@ -38,3 +43,6 @@ ENDTEST
 
 test starts here:
 
+a b c d
+a b c d
+
diff --git a/src/testdir/test_mapping.ok b/src/testdir/test_mapping.ok
--- a/src/testdir/test_mapping.ok
+++ b/src/testdir/test_mapping.ok
@@ -1,4 +1,7 @@
 test starts here:
+
+fooc d
+fooc d
 vim
 TEST2: CTRL-C |<ctrl-c>A|
 

Raspunde prin e-mail lui